directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r613574 - /directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Date Sun, 20 Jan 2008 15:28:21 GMT
Author: akarasulu
Date: Sun Jan 20 07:28:20 2008
New Revision: 613574

URL: http://svn.apache.org/viewvc?rev=613574&view=rev
Log:
fixing some generics

Modified:
    directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java

Modified: directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?rev=613574&r1=613573&r2=613574&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/sandbox/akarasulu/bigbang/apacheds/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Sun Jan 20 07:28:20 2008
@@ -97,7 +97,7 @@
     /** the user provided distinguished name index */
     private JdbmIndex<String> updnIdx;
     /** the attribute existance index */
-    private JdbmIndex existanceIdx;
+    private JdbmIndex<String> existanceIdx;
     /** the parent child relationship index */
     private JdbmIndex<Long> hierarchyIdx;
     /** the one level scope alias index */
@@ -359,7 +359,7 @@
 
         if ( existanceIdx == null )
         {
-            existanceIdx = new JdbmIndex();
+            existanceIdx = new JdbmIndex<String>();
             existanceIdx.setAttributeId( Oid.EXISTANCE );
             systemIndices.put( Oid.EXISTANCE, existanceIdx );
             existanceIdx.init( attributeTypeRegistry.lookup( Oid.EXISTANCE ), workingDirectory
);
@@ -591,7 +591,7 @@
     }
 
 
-    public void setExistanceIndex( JdbmIndex index ) throws NamingException
+    public void setExistanceIndex( JdbmIndex<String> index ) throws NamingException
     {
         protect( "existanceIndex" );
         existanceIdx = index;
@@ -1107,7 +1107,7 @@
     }
 
 
-    public void delete( Long id ) throws Exception, NamingException
+    public void delete( Long id ) throws Exception
     {
         Attributes entry = lookup( id );
         Long parentId = getParentId( id );



Mime
View raw message