directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r664305 - in /directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema: MetaComparatorHandlerIT.java MetaNormalizerHandlerIT.java
Date Sat, 07 Jun 2008 09:07:41 GMT
Author: elecharny
Date: Sat Jun  7 02:07:41 2008
New Revision: 664305

URL: http://svn.apache.org/viewvc?rev=664305&view=rev
Log:
Fixed a NPE by returning something in the getNamesRef method

Modified:
    directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaComparatorHandlerIT.java
    directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaNormalizerHandlerIT.java

Modified: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaComparatorHandlerIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaComparatorHandlerIT.java?rev=664305&r1=664304&r2=664305&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaComparatorHandlerIT.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaComparatorHandlerIT.java
Sat Jun  7 02:07:41 2008
@@ -607,8 +607,7 @@
 
         public String[] getNamesRef()
         {
-            // TODO Auto-generated method stub
-            return null;
+            return new String[] { "dummy" };
         }
     }
 }

Modified: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaNormalizerHandlerIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaNormalizerHandlerIT.java?rev=664305&r1=664304&r2=664305&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaNormalizerHandlerIT.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/schema/MetaNormalizerHandlerIT.java
Sat Jun  7 02:07:41 2008
@@ -610,8 +610,7 @@
 
         public String[] getNamesRef()
         {
-            // TODO Auto-generated method stub
-            return null;
+            return new String[] { "dummy" };
         }
     }
 }



Mime
View raw message