geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ash...@apache.org
Subject [27/50] [abbrv] incubator-geode git commit: GEODE-11: Remove trivial sysouts and empty tests
Date Wed, 11 Nov 2015 21:23:59 GMT
GEODE-11: Remove trivial sysouts and empty tests


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

Branch: refs/heads/develop
Commit: 710aef8e8178625f6aade3e239d653076df94332
Parents: 3e07ec2
Author: Ashvin Agrawal <ashvin@apache.org>
Authored: Mon Oct 5 11:46:19 2015 -0700
Committer: Ashvin Agrawal <ashvin@apache.org>
Committed: Thu Oct 8 22:01:58 2015 -0700

----------------------------------------------------------------------
 .../cache/lucene/internal/LuceneQueryImpl.java  |  2 -
 .../internal/LuceneIndexImplJUnitTest.java      | 44 --------------------
 .../LuceneFunctionReadPathDUnitTest.java        |  1 -
 3 files changed, 47 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/710aef8e/gemfire-lucene/src/main/java/com/gemstone/gemfire/cache/lucene/internal/LuceneQueryImpl.java
----------------------------------------------------------------------
diff --git a/gemfire-lucene/src/main/java/com/gemstone/gemfire/cache/lucene/internal/LuceneQueryImpl.java
b/gemfire-lucene/src/main/java/com/gemstone/gemfire/cache/lucene/internal/LuceneQueryImpl.java
index a5cbc79..c3e367b 100644
--- a/gemfire-lucene/src/main/java/com/gemstone/gemfire/cache/lucene/internal/LuceneQueryImpl.java
+++ b/gemfire-lucene/src/main/java/com/gemstone/gemfire/cache/lucene/internal/LuceneQueryImpl.java
@@ -1,7 +1,5 @@
 package com.gemstone.gemfire.cache.lucene.internal;
 
-import java.util.Set;
-
 import com.gemstone.gemfire.cache.Region;
 import com.gemstone.gemfire.cache.execute.FunctionService;
 import com.gemstone.gemfire.cache.execute.ResultCollector;

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/710aef8e/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneIndexImplJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneIndexImplJUnitTest.java
b/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneIndexImplJUnitTest.java
deleted file mode 100644
index 789f243..0000000
--- a/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneIndexImplJUnitTest.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.gemstone.gemfire.cache.lucene.internal;
-
-import static org.junit.Assert.*;
-import static org.junit.Assert.assertEquals;
-
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Random;
-import java.util.Set;
-import java.util.concurrent.ConcurrentHashMap;
-
-import org.apache.lucene.analysis.standard.StandardAnalyzer;
-import org.apache.lucene.index.IndexWriter;
-import org.apache.lucene.index.IndexWriterConfig;
-import org.apache.lucene.queryparser.classic.ParseException;
-import org.apache.lucene.queryparser.classic.QueryParser;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import com.gemstone.gemfire.cache.Cache;
-import com.gemstone.gemfire.cache.CacheFactory;
-import com.gemstone.gemfire.cache.RegionShortcut;
-import com.gemstone.gemfire.cache.lucene.LuceneServiceProvider;
-import com.gemstone.gemfire.cache.lucene.internal.directory.RegionDirectory;
-import com.gemstone.gemfire.cache.lucene.internal.filesystem.ChunkKey;
-import com.gemstone.gemfire.cache.lucene.internal.filesystem.File;
-import com.gemstone.gemfire.cache.lucene.internal.repository.serializer.HeterogenousLuceneSerializer;
-import com.gemstone.gemfire.cache.lucene.internal.repository.serializer.Type2;
-import com.gemstone.gemfire.internal.cache.LocalRegion;
-import com.gemstone.gemfire.internal.cache.PartitionedRegion;
-import com.gemstone.gemfire.test.junit.categories.IntegrationTest;
-
-/**
- * Test of the {@link LuceneIndexImpl} and everything below
- * it. This tests creating lucene index with index regions and specify fields 
- * and analyzer.
- */
-@Category(IntegrationTest.class)
-public class LuceneIndexImplJUnitTest {
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/710aef8e/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java
b/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java
index b37be14..b78e9d6 100644
--- a/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java
+++ b/gemfire-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java
@@ -111,7 +111,6 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase {
         Map<Integer, TestObject> data = new HashMap<Integer, TestObject>();
         for(LuceneResultStruct<Integer, TestObject> row : page) {
           data.put(row.getKey(), row.getValue());
-          System.out.println("GGG:"+row.getKey()+":"+row.getValue());
         }
         
         assertEquals(data, region);


Mime
View raw message