directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r659883 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
Date Sat, 24 May 2008 23:02:52 GMT
Author: akarasulu
Date: Sat May 24 16:02:52 2008
New Revision: 659883

URL: http://svn.apache.org/viewvc?rev=659883&view=rev
Log:
fixing some generics complaints

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java?rev=659883&r1=659882&r2=659883&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
Sat May 24 16:02:52 2008
@@ -256,16 +256,16 @@
     public boolean hasAttributeType( String oid ) throws Exception
     {
         BranchNode filter = new AndNode();
-        filter.addNode( new EqualityNode( OBJECTCLASS_OID, new ClientStringValue(
+        filter.addNode( new EqualityNode<String>( OBJECTCLASS_OID, new ClientStringValue(
             MetaSchemaConstants.META_ATTRIBUTE_TYPE_OC ) ) );
 
         if ( NUMERIC_OID_CHECKER.isValidSyntax( oid ) )
         {
-            filter.addNode( new EqualityNode( M_OID_OID, new ClientStringValue( oid ) ) );
+            filter.addNode( new EqualityNode<String>( M_OID_OID, new ClientStringValue(
oid ) ) );
         }
         else
         {
-            filter.addNode( new EqualityNode( M_NAME_OID, new ClientStringValue( oid.toLowerCase()
) ) );
+            filter.addNode( new EqualityNode<String>( M_NAME_OID, new ClientStringValue(
oid.toLowerCase() ) ) );
         }
 
         SearchControls searchControls = new SearchControls();



Mime
View raw message