directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1051224 - in /directory: apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ apacheds/branc...
Date Mon, 20 Dec 2010 17:47:31 GMT
Author: akarasulu
Date: Mon Dec 20 17:47:29 2010
New Revision: 1051224

URL: http://svn.apache.org/viewvc?rev=1051224&view=rev
Log:
Continuing to decouple code in shared:

 o moved utility classes independent of LDAP into shared-util module


Added:
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DirectoryClassUtils.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/EmptyEnumeration.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/GeneralizedTime.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributeWrapper.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributesWrapper.java
    directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/UTFUtils.java
    directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/DirectoryClassUtilsTest.java
    directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/GeneralizedTimeTest.java
    directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java
  (contents, props changed)
      - copied, changed from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/UTFUtilsTest.java
Removed:
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DirectoryClassUtils.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/EmptyEnumeration.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/GeneralizedTime.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributeWrapper.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributesWrapper.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/UTFUtils.java
    directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/DirectoryClassUtilsTest.java
    directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/GeneralizedTimeTest.java
    directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/UTFUtilsTest.java
Modified:
    directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ChangeLogEvent.java
    directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ServerEntryUtils.java
    directory/apacheds/branches/alex_refactoring/core/src/main/java/org/apache/directory/server/core/sp/java/JavaStoredProcEngine.java
    directory/apacheds/branches/alex_refactoring/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultModification.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/StringValue.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVASerializer.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnSerializer.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RDN.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnSerializer.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/GeneralizedTimeComparator.java
    directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java

Modified: directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ChangeLogEvent.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ChangeLogEvent.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ChangeLogEvent.java
(original)
+++ directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/changelog/ChangeLogEvent.java
Mon Dec 20 17:47:29 2010
@@ -30,7 +30,7 @@ import java.util.List;
 import org.apache.directory.server.core.LdapPrincipal;
 import org.apache.directory.shared.ldap.entry.EntryAttribute;
 import org.apache.directory.shared.ldap.ldif.LdifEntry;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 
 
 /**

Modified: directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ServerEntryUtils.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ServerEntryUtils.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ServerEntryUtils.java
(original)
+++ directory/apacheds/branches/alex_refactoring/core-api/src/main/java/org/apache/directory/server/core/entry/ServerEntryUtils.java
Mon Dec 20 17:47:29 2010
@@ -50,7 +50,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
 import org.apache.directory.shared.ldap.schema.SchemaUtils;
-import org.apache.directory.shared.ldap.util.EmptyEnumeration;
+import org.apache.directory.shared.util.EmptyEnumeration;
 import org.apache.directory.shared.util.Strings;
 
 /**

Modified: directory/apacheds/branches/alex_refactoring/core/src/main/java/org/apache/directory/server/core/sp/java/JavaStoredProcEngine.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/alex_refactoring/core/src/main/java/org/apache/directory/server/core/sp/java/JavaStoredProcEngine.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/apacheds/branches/alex_refactoring/core/src/main/java/org/apache/directory/server/core/sp/java/JavaStoredProcEngine.java
(original)
+++ directory/apacheds/branches/alex_refactoring/core/src/main/java/org/apache/directory/server/core/sp/java/JavaStoredProcEngine.java
Mon Dec 20 17:47:29 2010
@@ -33,7 +33,7 @@ import org.apache.directory.server.core.
 import org.apache.directory.shared.ldap.entry.Entry;
 import org.apache.directory.shared.ldap.entry.EntryAttribute;
 import org.apache.directory.shared.ldap.exception.LdapException;
-import org.apache.directory.shared.ldap.util.DirectoryClassUtils;
+import org.apache.directory.shared.util.ClassUtils;
 
 
 /**
@@ -75,7 +75,7 @@ public class JavaStoredProcEngine implem
         Method proc;
         try
         {
-            proc = DirectoryClassUtils.getAssignmentCompatibleMethod( clazz, spName, types
);
+            proc = ClassUtils.getAssignmentCompatibleMethod(clazz, spName, types);
         }
         catch ( NoSuchMethodException e )
         {

Modified: directory/apacheds/branches/alex_refactoring/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/alex_refactoring/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/apacheds/branches/alex_refactoring/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
(original)
+++ directory/apacheds/branches/alex_refactoring/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
Mon Dec 20 17:47:29 2010
@@ -39,7 +39,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.name.DnSerializer;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -180,7 +180,7 @@ public class ReplicaEventMessage impleme
             
             SyncModifyDnType modDnType = modDnControl.getModDnType();
             out.writeShort( modDnType.getValue() );
-            UTFUtils.writeUTF( out, modDnControl.getEntryDn() );
+            UTFUtils.writeUTF(out, modDnControl.getEntryDn());
             
             switch( modDnType )
             {

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntry.java
Mon Dec 20 17:47:29 2010
@@ -41,7 +41,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
 import org.apache.directory.shared.ldap.util.StringTools;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
Mon Dec 20 17:47:29 2010
@@ -34,7 +34,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SyntaxChecker;
 import org.apache.directory.shared.ldap.util.StringTools;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -2410,7 +2410,7 @@ public class DefaultEntryAttribute imple
     public void serialize( ObjectOutput out ) throws IOException
     {
         // Write the UPId (the id will be deduced from the upID)
-        UTFUtils.writeUTF( out, upId );
+        UTFUtils.writeUTF(out, upId);
         
         // Write the HR flag, if not null
         if ( isHR != null )

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultModification.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultModification.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultModification.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultModification.java
Mon Dec 20 17:47:29 2010
@@ -27,7 +27,7 @@ import org.apache.directory.shared.i18n.
 import org.apache.directory.shared.ldap.exception.LdapException;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -267,7 +267,7 @@ public class DefaultModification impleme
         operation = ModificationOperation.getOperation( op );
         
         // Read the attribute OID
-        String oid = UTFUtils.readUTF( in );
+        String oid = UTFUtils.readUTF(in);
         
         // Lookup for tha associated AttributeType
         AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( oid );

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/StringValue.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/StringValue.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/StringValue.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/entry/StringValue.java
Mon Dec 20 17:47:29 2010
@@ -24,12 +24,12 @@ import java.io.ObjectInput;
 import java.io.ObjectOutput;
 
 import org.apache.directory.shared.i18n.I18n;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.exception.NotImplementedException;
 import org.apache.directory.shared.ldap.exception.LdapException;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.LdapComparator;
 import org.apache.directory.shared.ldap.schema.Normalizer;
-import org.apache.directory.shared.ldap.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -512,7 +512,7 @@ public class StringValue extends Abstrac
         if ( wrappedValue != null )
         {
             out.writeBoolean( true );
-            UTFUtils.writeUTF( out, wrappedValue );
+            UTFUtils.writeUTF(out, wrappedValue);
         }
         else
         {

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
Mon Dec 20 17:47:29 2010
@@ -46,7 +46,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.message.control.Control;
 import org.apache.directory.shared.ldap.name.DN;
 import org.apache.directory.shared.ldap.name.RDN;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 
 
 /**
@@ -978,7 +978,7 @@ public class LdifEntry implements Clonea
 
                 if ( in.readBoolean() )
                 {
-                    newRdn = UTFUtils.readUTF( in );
+                    newRdn = UTFUtils.readUTF(in);
                 }
 
                 if ( in.readBoolean() )

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVA.java
Mon Dec 20 17:47:29 2010
@@ -33,7 +33,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.exception.LdapInvalidDnException;
 import org.apache.directory.shared.ldap.message.ResultCodeEnum;
 import org.apache.directory.shared.ldap.util.StringTools;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -792,7 +792,7 @@ public class AVA implements Cloneable, C
         UTFUtils.writeUTF( out, upName );
         out.writeInt( start );
         out.writeInt( length );
-        UTFUtils.writeUTF( out, upType );
+        UTFUtils.writeUTF(out, upType);
         UTFUtils.writeUTF( out, normType );
         
         boolean isHR = !normValue.isBinary();

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVASerializer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVASerializer.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVASerializer.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/AVASerializer.java
Mon Dec 20 17:47:29 2010
@@ -27,7 +27,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.entry.StringValue;
 import org.apache.directory.shared.ldap.entry.Value;
 import org.apache.directory.shared.ldap.exception.LdapInvalidDnException;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -135,7 +135,7 @@ public final class AVASerializer
         
         if ( isHR )
         {
-            UTFUtils.writeUTF( out, atav.getUpValue().getString() );
+            UTFUtils.writeUTF(out, atav.getUpValue().getString());
             UTFUtils.writeUTF( out, atav.getNormValue().getString() );
         }
         else

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnSerializer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnSerializer.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnSerializer.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnSerializer.java
Mon Dec 20 17:47:29 2010
@@ -26,7 +26,7 @@ import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.shared.i18n.I18n;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -126,7 +126,7 @@ public final class DnSerializer
     public static DN deserialize( ObjectInput in ) throws IOException
     {
         // Read the UPName
-        String upName = UTFUtils.readUTF( in );
+        String upName = UTFUtils.readUTF(in);
         
         // Read the NormName
         String normName = UTFUtils.readUTF( in );

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RDN.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RDN.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RDN.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RDN.java
Mon Dec 20 17:47:29 2010
@@ -41,7 +41,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.schema.SchemaManager;
 import org.apache.directory.shared.ldap.schema.normalizers.OidNormalizer;
 import org.apache.directory.shared.ldap.util.StringTools;
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.CharConstants;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
@@ -1547,7 +1547,7 @@ public class RDN implements Cloneable, C
 
         if ( upName.equals( normName ) )
         {
-            UTFUtils.writeUTF( out, "" );
+            UTFUtils.writeUTF(out, "");
         }
         else
         {

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnSerializer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnSerializer.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnSerializer.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnSerializer.java
Mon Dec 20 17:47:29 2010
@@ -23,7 +23,7 @@ import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
 
-import org.apache.directory.shared.ldap.util.UTFUtils;
+import org.apache.directory.shared.util.UTFUtils;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -117,7 +117,7 @@ public final class RdnSerializer
         String upName = UTFUtils.readUTF( in );
         
         // Read the normName
-        String normName = UTFUtils.readUTF( in );
+        String normName = UTFUtils.readUTF(in);
         
         if ( Strings.isEmpty(normName) )
         {

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/GeneralizedTimeComparator.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/GeneralizedTimeComparator.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/GeneralizedTimeComparator.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/GeneralizedTimeComparator.java
Mon Dec 20 17:47:29 2010
@@ -26,7 +26,7 @@ import java.text.ParseException;
 import org.apache.directory.shared.i18n.I18n;
 import org.apache.directory.shared.ldap.schema.LdapComparator;
 import org.apache.directory.shared.ldap.schema.PrepareString;
-import org.apache.directory.shared.ldap.util.GeneralizedTime;
+import org.apache.directory.shared.util.GeneralizedTime;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java?rev=1051224&r1=1051223&r2=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java
(original)
+++ directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/GeneralizedTimeNormalizer.java
Mon Dec 20 17:47:29 2010
@@ -32,10 +32,10 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.message.ResultCodeEnum;
 import org.apache.directory.shared.ldap.schema.Normalizer;
 import org.apache.directory.shared.ldap.schema.PrepareString;
-import org.apache.directory.shared.ldap.util.GeneralizedTime;
-import org.apache.directory.shared.ldap.util.GeneralizedTime.Format;
-import org.apache.directory.shared.ldap.util.GeneralizedTime.FractionDelimiter;
-import org.apache.directory.shared.ldap.util.GeneralizedTime.TimeZoneFormat;
+import org.apache.directory.shared.util.GeneralizedTime;
+import org.apache.directory.shared.util.GeneralizedTime.Format;
+import org.apache.directory.shared.util.GeneralizedTime.FractionDelimiter;
+import org.apache.directory.shared.util.GeneralizedTime.TimeZoneFormat;
 
 
 /**

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DirectoryClassUtils.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DirectoryClassUtils.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DirectoryClassUtils.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java
Mon Dec 20 17:47:29 2010
@@ -18,7 +18,7 @@
  *  
  */
 
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -29,16 +29,16 @@ import java.util.Arrays;
 /**
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public final class DirectoryClassUtils
+public final class ClassUtils
 {
     /** The logger. */
-    private static final Logger LOG = LoggerFactory.getLogger( DirectoryClassUtils.class
);
+    private static final Logger LOG = LoggerFactory.getLogger( ClassUtils.class );
 
 
     /**
      * Private constructor.
      */
-    private DirectoryClassUtils()
+    private ClassUtils()
     {
     }
 

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ClassUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/DummySSLSocketFactory.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import java.io.IOException;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/DummySSLSocketFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/EmptyEnumeration.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/EmptyEnumeration.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/EmptyEnumeration.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import java.util.NoSuchElementException;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/EmptyEnumeration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/GeneralizedTime.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/GeneralizedTime.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/GeneralizedTime.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import java.text.DecimalFormat;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/GeneralizedTime.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributeWrapper.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributeWrapper.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributeWrapper.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java
Mon Dec 20 17:47:29 2010
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import javax.naming.NamingEnumeration;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributeWrapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributesWrapper.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributesWrapper.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/ImmutableAttributesWrapper.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java
Mon Dec 20 17:47:29 2010
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import javax.naming.NamingEnumeration;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/ImmutableAttributesWrapper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/UTFUtils.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java?p2=directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java&p1=directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/UTFUtils.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/main/java/org/apache/directory/shared/ldap/util/UTFUtils.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import java.io.IOException;

Propchange: directory/shared/branches/alex_refactoring/util/src/main/java/org/apache/directory/shared/util/UTFUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/DirectoryClassUtilsTest.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java?p2=directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java&p1=directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/DirectoryClassUtilsTest.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/DirectoryClassUtilsTest.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java
Mon Dec 20 17:47:29 2010
@@ -18,7 +18,7 @@
  *  
  */
 
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
@@ -35,13 +35,13 @@ import org.junit.runner.RunWith;
 
 
 /**
- * Test case for {@link DirectoryClassUtils}.
+ * Test case for {@link ClassUtils}.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 @RunWith(ConcurrentJunitRunner.class)
 @Concurrent()
-public class DirectoryClassUtilsTest
+public class ClassUtilsTest
 {
     private static class TestClass
     {
@@ -79,7 +79,7 @@ public class DirectoryClassUtilsTest
         
         try
         {
-            m2 = DirectoryClassUtils.getAssignmentCompatibleMethod( TestClass.class, "methodA",
new Class[] { String.class } );
+            m2 = ClassUtils.getAssignmentCompatibleMethod(TestClass.class, "methodA", new
Class[]{String.class});
         }
         catch ( NoSuchMethodException e )
         {
@@ -113,7 +113,7 @@ public class DirectoryClassUtilsTest
         
         try
         {
-            m2 = DirectoryClassUtils.getAssignmentCompatibleMethod( TestClass.class, "methodB",
new Class[] { ArrayList.class } );
+            m2 = ClassUtils.getAssignmentCompatibleMethod(TestClass.class, "methodB", new
Class[]{ArrayList.class});
         }
         catch ( NoSuchMethodException e )
         {

Propchange: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/ClassUtilsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/GeneralizedTimeTest.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java?p2=directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java&p1=directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/GeneralizedTimeTest.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/GeneralizedTimeTest.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import static org.junit.Assert.assertEquals;
@@ -31,9 +31,9 @@ import java.util.TimeZone;
 
 import org.apache.directory.junit.tools.Concurrent;
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
-import org.apache.directory.shared.ldap.schema.syntax.GeneralizedTimeSyntaxCheckerTest;
-import org.apache.directory.shared.ldap.util.GeneralizedTime.Format;
-import org.apache.directory.shared.ldap.util.GeneralizedTime.TimeZoneFormat;
+import org.apache.directory.shared.util.GeneralizedTime.Format;
+import org.apache.directory.shared.util.GeneralizedTime.TimeZoneFormat;
+
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -524,7 +524,7 @@ public class GeneralizedTimeTest
 
 
     /**
-     * Testcases from {@link GeneralizedTimeSyntaxCheckerTest#testCorrectCase()}.
+     * Testcases from GeneralizedTimeSyntaxCheckerTest#testCorrectCase().
      */
     @Test
     public void testGeneralizedTimeSyntaxCheckerTestCorrectCase() throws ParseException
@@ -539,7 +539,7 @@ public class GeneralizedTimeTest
 
 
     /**
-     * Testcases from {@link GeneralizedTimeSyntaxCheckerTest#testErrorCase()}.
+     * Testcases from GeneralizedTimeSyntaxCheckerTest#testErrorCase().
      */
     @Test
     public void testGeneralizedTimeSyntaxCheckerTestErrorCase()

Propchange: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/GeneralizedTimeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java
(from r1049962, directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/UTFUtilsTest.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java?p2=directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java&p1=directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/UTFUtilsTest.java&r1=1049962&r2=1051224&rev=1051224&view=diff
==============================================================================
--- directory/shared/branches/alex_refactoring/ldap/src/test/java/org/apache/directory/shared/ldap/util/UTFUtilsTest.java
(original)
+++ directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java
Mon Dec 20 17:47:29 2010
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.util;
+package org.apache.directory.shared.util;
 
 
 import static org.junit.Assert.assertEquals;
@@ -32,6 +32,7 @@ import java.util.Arrays;
 
 import org.apache.directory.junit.tools.Concurrent;
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
+import org.apache.directory.shared.util.UTFUtils;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -124,7 +125,7 @@ public class UTFUtilsTest
         char[] fill = new char[196622]; // 65535 * 3 + 17
         Arrays.fill( fill, '\u00fc' ); // German &&uuml
         String testString = new String( fill );
-        UTFUtils.writeUTF( dos, testString );
+        UTFUtils.writeUTF(dos, testString);
         dos.flush();
         dos.close();
         assertEquals( testString, UTFUtils.readUTF( dis ) );

Propchange: directory/shared/branches/alex_refactoring/util/src/test/java/org/apache/directory/shared/util/UTFUtilsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message