directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r659704 - in /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz: GroupCache.java TupleCache.java
Date Fri, 23 May 2008 23:06:48 GMT
Author: akarasulu
Date: Fri May 23 16:06:47 2008
New Revision: 659704

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

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java?rev=659704&r1=659703&r2=659704&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
Fri May 23 16:06:47 2008
@@ -129,9 +129,9 @@
         // normalized sets of members to cache within the map
 
         BranchNode filter = new OrNode();
-        filter.addNode( new EqualityNode( SchemaConstants.OBJECT_CLASS_AT, new ClientStringValue(
+        filter.addNode( new EqualityNode<String>( SchemaConstants.OBJECT_CLASS_AT,
new ClientStringValue(
             SchemaConstants.GROUP_OF_NAMES_OC ) ) );
-        filter.addNode( new EqualityNode( SchemaConstants.OBJECT_CLASS_AT, new ClientStringValue(
+        filter.addNode( new EqualityNode<String>( SchemaConstants.OBJECT_CLASS_AT,
new ClientStringValue(
             SchemaConstants.GROUP_OF_UNIQUE_NAMES_OC ) ) );
 
         Iterator<String> suffixes = nexus.listSuffixes( null );

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java?rev=659704&r1=659703&r2=659704&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java
Fri May 23 16:06:47 2008
@@ -130,8 +130,8 @@
         {
             String suffix = suffixes.next();
             LdapDN baseDn = parseNormalized( suffix );
-            ExprNode filter = new EqualityNode( SchemaConstants.OBJECT_CLASS_AT, new ClientStringValue(
-                SchemaConstants.ACCESS_CONTROL_SUBENTRY_OC ) );
+            ExprNode filter = new EqualityNode<String>( SchemaConstants.OBJECT_CLASS_AT,

+                new ClientStringValue( SchemaConstants.ACCESS_CONTROL_SUBENTRY_OC ) );
             SearchControls ctls = new SearchControls();
             ctls.setSearchScope( SearchControls.SUBTREE_SCOPE );
             EntryFilteringCursor results = nexus.search( new SearchOperationContext( registries,



Mime
View raw message