You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ja...@apache.org on 2016/06/01 21:11:27 UTC

incubator-geode git commit: GEODE-11: Resolved compile warning for LuceneQueriesIntegrationTest

Repository: incubator-geode
Updated Branches:
  refs/heads/develop 7d15174d5 -> 6ef7d4754


GEODE-11: Resolved compile warning for LuceneQueriesIntegrationTest

* Modified LuceneQuery types to match the expectedKeys type


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/6ef7d475
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/6ef7d475
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/6ef7d475

Branch: refs/heads/develop
Commit: 6ef7d47542d61e14d266ef72f8b31ebf718d0dc6
Parents: 7d15174
Author: Jason Huynh <hu...@gmail.com>
Authored: Wed Jun 1 13:31:12 2016 -0700
Committer: Jason Huynh <hu...@gmail.com>
Committed: Wed Jun 1 14:10:21 2016 -0700

----------------------------------------------------------------------
 .../gemfire/cache/lucene/LuceneQueriesIntegrationTest.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/6ef7d475/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneQueriesIntegrationTest.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneQueriesIntegrationTest.java b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneQueriesIntegrationTest.java
index 13df7a9..c26997d 100644
--- a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneQueriesIntegrationTest.java
+++ b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneQueriesIntegrationTest.java
@@ -179,7 +179,7 @@ public class LuceneQueriesIntegrationTest extends LuceneIntegrationTest {
   }
 
   private void verifyQuery(String query, String ... expectedKeys) throws ParseException {
-    final LuceneQuery<Object, Object> queryWithStandardAnalyzer = luceneService.createLuceneQueryFactory().create(
+    final LuceneQuery<String, Object> queryWithStandardAnalyzer = luceneService.createLuceneQueryFactory().create(
       INDEX_NAME, REGION_NAME, query);
 
     verifyQueryKeys(queryWithStandardAnalyzer, expectedKeys);