directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r615292 - in /directory/apacheds/branches/bigbang: btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java
Date Fri, 25 Jan 2008 18:08:58 GMT
Author: elecharny
Date: Fri Jan 25 10:08:57 2008
New Revision: 615292

URL: http://svn.apache.org/viewvc?rev=615292&view=rev
Log:
Removed some warnings using generics

Modified:
    directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java

Modified: directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java?rev=615292&r1=615291&r2=615292&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java
(original)
+++ directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Index.java
Fri Jan 25 10:08:57 2008
@@ -181,19 +181,19 @@
     IndexEnumeration listReverseIndices( Object id ) throws NamingException;
 
 
-    IndexEnumeration listIndices() throws NamingException;
+    IndexEnumeration<IndexRecord> listIndices() throws NamingException;
 
 
-    IndexEnumeration listIndices( Object attrVal ) throws NamingException;
+    IndexEnumeration<IndexRecord> listIndices( Object attrVal ) throws NamingException;
 
 
-    IndexEnumeration listIndices( Object attrVal, boolean isGreaterThan ) throws NamingException;
+    IndexEnumeration<Tuple> listIndices( Object attrVal, boolean isGreaterThan ) throws
NamingException;
 
 
-    IndexEnumeration listIndices( Pattern regex ) throws NamingException;
+    IndexEnumeration<Tuple> listIndices( Pattern regex ) throws NamingException;
 
 
-    IndexEnumeration listIndices( Pattern regex, String prefix ) throws NamingException;
+    IndexEnumeration<Tuple> listIndices( Pattern regex, String prefix ) throws NamingException;
 
 
     boolean hasValue( Object attrVal, Object id ) throws NamingException;

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java?rev=615292&r1=615291&r2=615292&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/IndexDialog.java
Fri Jan 25 10:08:57 2008
@@ -286,7 +286,7 @@
 
         try
         {
-            NamingEnumeration list = null;
+            NamingEnumeration<IndexRecord> list = null;
 
             if ( scanType == EQUALITY_CURSOR )
             {



Mime
View raw message