directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1064249 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec: controls/replication/syncInfoValue/SyncInfoValueControl.java decorators/RequestDecorator.java decorators/SearchRequestDecorator.java
Date Thu, 27 Jan 2011 18:38:23 GMT
Author: akarasulu
Date: Thu Jan 27 18:38:22 2011
New Revision: 1064249

URL: http://svn.apache.org/viewvc?rev=1064249&view=rev
Log:
cleanup warnings

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueControl.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/RequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueControl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueControl.java?rev=1064249&r1=1064248&r2=1064249&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueControl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueControl.java
Thu Jan 27 18:38:22 2011
@@ -550,7 +550,7 @@ public class SyncInfoValueControl extend
             }
             
             // @TODO : check the UUIDs
-            for ( byte[] syncUuid : syncUUIDs )
+            for ( @SuppressWarnings("unused") byte[] syncUuid : syncUUIDs )
             {
             }
         }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/RequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/RequestDecorator.java?rev=1064249&r1=1064248&r2=1064249&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/RequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/RequestDecorator.java
Thu Jan 27 18:38:22 2011
@@ -47,6 +47,6 @@ public class RequestDecorator extends Me
      */
     public boolean hasResponse()
     {
-        return ((Request)getDecoratedMessage()).hasResponse();
+        return ( ( Request ) getDecoratedMessage() ).hasResponse();
     }
 }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java?rev=1064249&r1=1064248&r2=1064249&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
Thu Jan 27 18:38:22 2011
@@ -339,6 +339,7 @@ public class SearchRequestDecorator exte
      * @param filter The filter to be transformed
      * @return An ExprNode
      */
+    @SuppressWarnings({ "unchecked", "rawtypes" })
     private ExprNode transform( Filter filter )
     {
         if ( filter != null )



Mime
View raw message