directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r809721 - /directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java
Date Mon, 31 Aug 2009 19:56:22 GMT
Author: akarasulu
Date: Mon Aug 31 19:56:22 2009
New Revision: 809721

URL: http://svn.apache.org/viewvc?rev=809721&view=rev
Log:
fixing compile error

Modified:
    directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java

Modified: directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java?rev=809721&r1=809720&r2=809721&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java
(original)
+++ directory/apacheds/branches/apacheds-schema/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/MockComparatorRegistry.java
Mon Aug 31 19:56:22 2009
@@ -45,12 +45,15 @@
 
     private LdapComparator<Integer> comparator = new LdapComparator<Integer>(
"1.1.1" )
     {
-        public int compare( Integer i1, Integer i2 )
+		private static final long serialVersionUID = -4049615866911565018L;
+
+		public int compare( Integer i1, Integer i2 )
         {
             return i1.compareTo( i2 );
         }
     };
 
+    
     public String getSchemaName( String oid ) throws NamingException
     {
         return null;
@@ -97,8 +100,9 @@
     }
 
 
-    public void unregister( String oid ) throws NamingException
+    public LdapComparator<Integer> unregister( String oid ) throws NamingException
     {
+		return this.comparator;
     }
 
 



Mime
View raw message