directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r109292 - in incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve: db/gui db/jdbm jndi
Date Wed, 01 Dec 2004 05:09:00 GMT
Author: akarasulu
Date: Tue Nov 30 21:08:58 2004
New Revision: 109292

URL: http://svn.apache.org/viewcvs?view=rev&rev=109292
Log:
applying Marks patches in http://nagoya.apache.org/jira/browse/DIREVE-90
Modified:
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java?view=diff&rev=109292&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java&r1=109291&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java&r2=109292
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/EntryNode.java
Tue Nov 30 21:08:58 2004
@@ -195,7 +195,7 @@
         try
         {
             LdapName dn = new LdapName( db.getEntryDn( id ) );
-            buf.append( '(' ).append( id ).append( ") " );
+            buf.append( "(" ).append( id ).append( ") " );
             buf.append( dn.getRdn() );
         }
         catch( NamingException e )
@@ -206,7 +206,7 @@
         
         if ( children.size() > 0 )
         {
-            buf.append( " [" ).append( children.size() ).append( ']' );
+            buf.append( " [" ).append( children.size() ).append( "]" );
         }
         
         return buf.toString();

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java?view=diff&rev=109292&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java&r1=109291&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java&r2=109292
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/gui/MainFrame.java
Tue Nov 30 21:08:58 2004
@@ -678,15 +678,25 @@
 
         SearchResultDialog results = new SearchResultDialog( this, false );
         StringBuffer buf = new StringBuffer();
-        buf.append( "base: " ).append( base ).append( '\n' );
-        buf.append( "scope: " ).append( scope ).append( '\n' );
-        buf.append( "limit: " ).append( limit ).append( '\n' );
-        buf.append( "total: " ).append( count ).append( '\n' );
-        buf.append( "filter:\n" ).append( filter ).append( '\n' );
+        buf.append( "base: " );
+        buf.append( base );
+        buf.append( "\n" );
+        buf.append( "scope: " );
+        buf.append( scope );
+        buf.append( "\n" );
+        buf.append( "limit: " );
+        buf.append( limit );
+        buf.append( "\n" );
+        buf.append( "total: " );
+        buf.append( count );
+        buf.append( "\n" );
+        buf.append( "filter:\n" );
+        buf.append( filter );
+        buf.append( "\n" );
         results.setFilter( buf.toString() );
 
-	    TreeNode astRoot = new ASTNode( null, root );
-	    TreeModel treeModel = new DefaultTreeModel( astRoot, true );
+        TreeNode astRoot = new ASTNode( null, root );
+        TreeModel treeModel = new DefaultTreeModel( astRoot, true );
         results.setTreeModel( treeModel );
         results.setTableModel( tableModel );
         centerOnScreen( results );

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java?view=diff&rev=109292&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java&r1=109291&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java&r2=109292
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmDatabase.java
Tue Nov 30 21:08:58 2004
@@ -1035,7 +1035,7 @@
             IndexRecord rec = ( IndexRecord ) list.next();
             val.append( "_existance[" ); 
             val.append( rec.getIndexKey() );
-            val.append( ']' );
+            val.append( "]" );
             attributes.put( val.toString(), rec.getEntryId() );
             val.setLength( 0 );
         }

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java?view=diff&rev=109292&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java&r1=109291&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java&r2=109292
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/db/jdbm/JdbmTable.java
Tue Nov 30 21:08:58 2004
@@ -1059,7 +1059,7 @@
     {
         StringBuffer buf = new StringBuffer();
 
-        buf.append( '\'' );
+        buf.append( "\'" );
         if ( null == renderer ) 
         {
             buf.append( obj.toString() );
@@ -1069,7 +1069,7 @@
             buf.append( renderer.getKeyString( obj ) );
         }
         
-        buf.append( '\'' );
+        buf.append( "\'" );
         return buf.toString();
     }
 

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java?view=diff&rev=109292&p1=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java&r1=109291&p2=incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java&r2=109292
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/InvocationMethodEnum.java
Tue Nov 30 21:08:58 2004
@@ -305,7 +305,7 @@
     {
         StringBuffer buf = new StringBuffer();
         buf.append( method.getName() );
-        buf.append( '(' );
+        buf.append( "(" );
 
         Class[] params = method.getParameterTypes();
         for ( int ii = 0; ii < params.length; ii++ )
@@ -314,11 +314,11 @@
 
             if ( ii < params.length - 1 )
             {
-                buf.append( ',' );
+                buf.append( "," );
             }
         }
 
-        buf.append( ')' );
+        buf.append( ")" );
         return buf.toString();
     }
 }

Mime
View raw message