Author: navssurtani
Date: 2008-07-02 07:06:43 -0400 (Wed, 02 Jul 2008)
New Revision: 6150
Modified:
searchable/trunk/src/main/java/org/jboss/cache/search/CacheQueryImpl.java
Log:
Edit to CacheQueryImpl constructor and NPE
Modified: searchable/trunk/src/main/java/org/jboss/cache/search/CacheQueryImpl.java
===================================================================
--- searchable/trunk/src/main/java/org/jboss/cache/search/CacheQueryImpl.java 2008-07-02
10:54:19 UTC (rev 6149)
+++ searchable/trunk/src/main/java/org/jboss/cache/search/CacheQueryImpl.java 2008-07-02
11:06:43 UTC (rev 6150)
@@ -258,7 +258,6 @@
for (int index = first; index <= max; index++)
{
String documentId = (String) extractor.extract(hits, index).id;
- if (documentId == null) throw new NullPointerException("The document id
extracted is null");
CacheEntityId id = new CacheEntityId(documentId);
ids.add(id);
}