directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r359111 - /directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/
Date Mon, 26 Dec 2005 22:29:40 GMT
Author: elecharny
Date: Mon Dec 26 14:29:24 2005
New Revision: 359111

URL: http://svn.apache.org/viewcvs?rev=359111&view=rev
Log:
Use StringTools instead of StringUtils

Modified:
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapAttributeTypeRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapComparatorRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitContentRuleRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitStructureRuleRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleUseRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNameFormRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNormalizerRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectClassRegistry.java
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectFactoryRegistry.java

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapAttributeTypeRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapAttributeTypeRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapAttributeTypeRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapAttributeTypeRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.AttributeType;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.AttributeTypeRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -150,11 +150,11 @@
     	
     	sb.append( tabs ).append(  "  By oid : \n" );
     	
-    	sb.append( tabs ).append(  StringUtils.mapToString( byOid, "    " ) ) .append( '\n'
);
+    	sb.append( tabs ).append(  StringTools.mapToString( byOid, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs ).append(  "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append(  StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append(  StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append(  "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapComparatorRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapComparatorRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapComparatorRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapComparatorRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,7 +23,7 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.ComparatorRegistry;
 import org.apache.ldap.server.schema.SerializableComparator;
 
@@ -124,11 +124,11 @@
     	
     	sb.append( tabs).append( "  Comparators : \n" );
     	
-    	sb.append( tabs).append( StringUtils.mapToString( comparators, "    " ) ) .append( '\n'
);
+    	sb.append( tabs).append( StringTools.mapToString( comparators, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs).append( "  By schema : \n" );
 
-    	sb.append( tabs).append( StringUtils.mapToString( oidToSchema, "    " ) ) .append( '\n'
);
+    	sb.append( tabs).append( StringTools.mapToString( oidToSchema, "    " ) ) .append( '\n'
);
 
     	sb.append( tabs).append( "}\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitContentRuleRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitContentRuleRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitContentRuleRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitContentRuleRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.DITContentRule;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.DITContentRuleRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -142,11 +142,11 @@
     	
     	sb.append( tabs ).append( "  By oid : \n" );
     	
-    	sb.append( tabs ).append( StringUtils.mapToString( byOid, "    " ) ) .append( '\n' );
+    	sb.append( tabs ).append( StringTools.mapToString( byOid, "    " ) ) .append( '\n' );
     	
     	sb.append( tabs ).append( "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append( StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append( StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append( "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitStructureRuleRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitStructureRuleRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitStructureRuleRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapDitStructureRuleRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.DITStructureRule;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.DITStructureRuleRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -145,11 +145,11 @@
     	
     	sb.append( tabs ).append(  "  By oid : \n" );
     	
-    	sb.append( tabs ).append(  StringUtils.mapToString( byOid, "    " ) ) .append( '\n'
);
+    	sb.append( tabs ).append(  StringTools.mapToString( byOid, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs ).append(  "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append(  StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append(  StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append(  "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.MatchingRule;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.MatchingRuleRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -160,11 +160,11 @@
     	
     	sb.append( tabs ).append( "  By oid : \n" );
     	
-    	sb.append( tabs ).append( StringUtils.mapToString( byOid, "    " ) ) .append( '\n' );
+    	sb.append( tabs ).append( StringTools.mapToString( byOid, "    " ) ) .append( '\n' );
     	
     	sb.append( tabs ).append( "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append( StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append( StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append( "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleUseRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleUseRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleUseRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapMatchingRuleUseRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.MatchingRuleUse;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.MatchingRuleUseRegistry;
 
 
@@ -126,11 +126,11 @@
     	
     	sb.append( tabs).append(  "  By name : \n" );
     	
-    	sb.append( tabs).append(  StringUtils.mapToString( byName, "    " ) ) .append( '\n'
);
+    	sb.append( tabs).append(  StringTools.mapToString( byName, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs).append(  "  Name to schema : \n" );
 
-    	sb.append( tabs).append(  StringUtils.mapToString( nameToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs).append(  StringTools.mapToString( nameToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs).append(  "}\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNameFormRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNameFormRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNameFormRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNameFormRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.NameForm;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.NameFormRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -144,11 +144,11 @@
     	
     	sb.append( tabs ).append(  "  By oid : \n" );
     	
-    	sb.append( tabs ).append(  StringUtils.mapToString( byOid, "    " ) ) .append( '\n'
);
+    	sb.append( tabs ).append(  StringTools.mapToString( byOid, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs ).append(  "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append(  StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append(  StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append(  "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNormalizerRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNormalizerRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNormalizerRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapNormalizerRegistry.java
Mon Dec 26 14:29:24 2005
@@ -22,9 +22,9 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.asn1new.primitives.OID;
 import org.apache.ldap.common.schema.Normalizer;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.NormalizerRegistry;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -131,11 +131,11 @@
     	
     	sb.append( tabs ).append( "  By oid : \n" );
     	
-    	sb.append( StringUtils.mapToString( byOid, tabs + "    " ) ) .append( '\n' );
+    	sb.append( StringTools.mapToString( byOid, tabs + "    " ) ) .append( '\n' );
     	
     	sb.append( tabs ).append( "  By schema : \n" );
 
-    	sb.append( StringUtils.mapToString( oidToSchema, tabs + "    " ) ) .append( '\n' );
+    	sb.append( StringTools.mapToString( oidToSchema, tabs + "    " ) ) .append( '\n' );
     	
     	sb.append( tabs ).append( "}\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectClassRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectClassRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectClassRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectClassRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,8 +23,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.schema.ObjectClass;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.schema.ObjectClassRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -144,11 +144,11 @@
     	
     	sb.append( tabs ).append(  "  By oid : \n" );
     	
-    	sb.append( tabs ).append(  StringUtils.mapToString( byOid, "    " ) ) .append( '\n'
);
+    	sb.append( tabs ).append(  StringTools.mapToString( byOid, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs ).append(  "  Oid to schema : \n" );
 
-    	sb.append( tabs ).append(  StringUtils.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
+    	sb.append( tabs ).append(  StringTools.mapToString( oidToSchema, "    " ) ) .append(
'\n' );
     	
     	sb.append( tabs ).append(  "  OidRegistry :\n" );
     	

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectFactoryRegistry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectFactoryRegistry.java?rev=359111&r1=359110&r2=359111&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectFactoryRegistry.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapObjectFactoryRegistry.java
Mon Dec 26 14:29:24 2005
@@ -23,7 +23,7 @@
 import javax.naming.directory.Attribute;
 import javax.naming.ldap.LdapContext;
 
-import org.apache.asn1.codec.util.StringUtils;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.jndi.ServerDirObjectFactory;
 import org.apache.ldap.server.schema.ObjectFactoryRegistry;
 import org.apache.ldap.server.schema.OidRegistry;
@@ -112,7 +112,7 @@
     	
     	sb.append( tabs ).append(  "  By oid : \n" );
     	
-    	sb.append( tabs ).append(  StringUtils.mapToString( byOid, "    " ) ) .append( '\n'
);
+    	sb.append( tabs ).append(  StringTools.mapToString( byOid, "    " ) ) .append( '\n'
);
     	
     	sb.append( tabs ).append(  "  OidRegistry :\n" );
     	



Mime
View raw message