directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r552761 - in /directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared: ServiceConfiguration.java catalog/GetCatalog.java
Date Tue, 03 Jul 2007 09:30:02 GMT
Author: erodriguez
Date: Tue Jul  3 02:30:01 2007
New Revision: 552761

URL: http://svn.apache.org/viewvc?view=rev&rev=552761
Log:
Warnings clean-up in protocol-shared.

Modified:
    directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java
    directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/catalog/GetCatalog.java

Modified: directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java?view=diff&rev=552761&r1=552760&r2=552761
==============================================================================
--- directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java
(original)
+++ directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java
Tue Jul  3 02:30:01 2007
@@ -164,7 +164,7 @@
      * @param config
      * @return Whether the configuration is different.
      */
-    public boolean isDifferent( Dictionary config )
+    public boolean isDifferent( Dictionary<String, Object> config )
     {
         int port = getIpPort();
 

Modified: directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/catalog/GetCatalog.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/catalog/GetCatalog.java?view=diff&rev=552761&r1=552760&r2=552761
==============================================================================
--- directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/catalog/GetCatalog.java
(original)
+++ directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/catalog/GetCatalog.java
Tue Jul  3 02:30:01 2007
@@ -59,13 +59,13 @@
 
         String filter = "(objectClass=" + ENTRY + ")";
 
-        NamingEnumeration list = ctx.search( "", filter, controls );
+        NamingEnumeration<SearchResult> list = ctx.search( "", filter, controls );
 
         Map<String, String> catalog = new HashMap<String, String>();
 
         while ( list.hasMore() )
         {
-            SearchResult result = ( SearchResult ) list.next();
+            SearchResult result = list.next();
 
             Attributes attrs = result.getAttributes();
             Attribute attr;



Mime
View raw message