directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r572339 - in /directory/shared/trunk/ldap/src/main/antlr: ACIItem.g ACIItemChecker.g
Date Mon, 03 Sep 2007 13:57:39 GMT
Author: elecharny
Date: Mon Sep  3 06:57:38 2007
New Revision: 572339

URL: http://svn.apache.org/viewvc?rev=572339&view=rev
Log:
Removed some useless imports to reduce the numbr of warnings

Modified:
    directory/shared/trunk/ldap/src/main/antlr/ACIItem.g
    directory/shared/trunk/ldap/src/main/antlr/ACIItemChecker.g

Modified: directory/shared/trunk/ldap/src/main/antlr/ACIItem.g
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/antlr/ACIItem.g?rev=572339&r1=572338&r2=572339&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/antlr/ACIItem.g (original)
+++ directory/shared/trunk/ldap/src/main/antlr/ACIItem.g Mon Sep  3 06:57:38 2007
@@ -25,15 +25,11 @@
 
 
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
 import java.util.Enumeration;
 
-import javax.naming.directory.Attribute;
-import javax.naming.NamingException;
-
 import org.apache.directory.shared.ldap.filter.AssertionEnum;
 import org.apache.directory.shared.ldap.filter.BranchNode;
 import org.apache.directory.shared.ldap.filter.ExprNode;
@@ -116,8 +112,8 @@
     private boolean isItemFirstACIItem;
     
     // shared global data needed to avoid extensive pass/return stuff
-    private Set m_protectedItems;
-    private Map m_protectedItemsMap;
+    private Set<ProtectedItem> m_protectedItems;
+    private Map<String, ProtectedItem> m_protectedItemsMap;
     private Set m_userClasses;
     private Map m_userClassesMap;
     private Set m_itemPermissions;
@@ -395,7 +391,7 @@
             )?
         CLOSE_CURLY
     {
-        m_protectedItems = new HashSet( m_protectedItemsMap.values() );
+        m_protectedItems = new HashSet<ProtectedItem>( m_protectedItemsMap.values()
);
     }
     ;
     exception

Modified: directory/shared/trunk/ldap/src/main/antlr/ACIItemChecker.g
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/antlr/ACIItemChecker.g?rev=572339&r1=572338&r2=572339&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/antlr/ACIItemChecker.g (original)
+++ directory/shared/trunk/ldap/src/main/antlr/ACIItemChecker.g Mon Sep  3 06:57:38 2007
@@ -24,37 +24,8 @@
 package org.apache.directory.shared.ldap.aci;
 
 
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-import java.util.Enumeration;
-
-import javax.naming.directory.Attribute;
-import org.apache.directory.shared.ldap.message.AttributeImpl;
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.filter.AssertionEnum;
-import org.apache.directory.shared.ldap.filter.BranchNode;
-import org.apache.directory.shared.ldap.filter.ExprNode;
 import org.apache.directory.shared.ldap.filter.FilterParserImpl;
-import org.apache.directory.shared.ldap.filter.LeafNode;
-import org.apache.directory.shared.ldap.filter.SimpleNode;
 import org.apache.directory.shared.ldap.name.NameComponentNormalizer;
-import org.apache.directory.shared.ldap.subtree.SubtreeSpecification;
-import org.apache.directory.shared.ldap.subtree.SubtreeSpecificationModifier;
-import org.apache.directory.shared.ldap.util.ComponentsMonitor;
-import org.apache.directory.shared.ldap.util.MandatoryAndOptionalComponentsMonitor;
-import org.apache.directory.shared.ldap.util.MandatoryComponentsMonitor;
-import org.apache.directory.shared.ldap.util.NamespaceTools;
-import org.apache.directory.shared.ldap.util.NoDuplicateKeysMap;
-import org.apache.directory.shared.ldap.util.OptionalComponentsMonitor;
-import org.apache.directory.shared.ldap.name.LdapDN;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 }
 
 



Mime
View raw message