directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r500003 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java
Date Thu, 25 Jan 2007 21:39:16 GMT
Author: elecharny
Date: Thu Jan 25 13:39:15 2007
New Revision: 500003

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

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java?view=diff&rev=500003&r1=500002&r2=500003
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authz/DefaultAuthorizationService.java
Thu Jan 25 13:39:15 2007
@@ -49,6 +49,7 @@
 import org.apache.directory.shared.ldap.filter.ExprNode;
 import org.apache.directory.shared.ldap.message.ModificationItemImpl;
 import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.schema.OidNormalizer;
 
 
 /**
@@ -87,7 +88,8 @@
     
     private Set administrators = new HashSet(2);
     
-    private Map normalizerMapping;
+    /** The normalizer mapping containing a relation between an OID and a normalizer */
+    private Map<String, OidNormalizer> normalizerMapping;
     
     private PartitionNexus nexus;
 
@@ -123,7 +125,7 @@
     private void loadAdministrators() throws NamingException
     {
         // read in the administrators and cache their normalized names
-        Set newAdministrators = new HashSet( 2 );
+        Set<String> newAdministrators = new HashSet<String>( 2 );
         Attributes adminGroup = nexus.lookup( ADMIN_GROUP_DN_NORMALIZED );
         
         if ( adminGroup == null )



Mime
View raw message