You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by zh...@apache.org on 2017/09/27 00:09:18 UTC
[geode] branch feature/GEODE-3273 updated: GEODE-3273: spotlessApply
This is an automated email from the ASF dual-hosted git repository.
zhouxj pushed a commit to branch feature/GEODE-3273
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-3273 by this push:
new 1bc20b8 GEODE-3273: spotlessApply
1bc20b8 is described below
commit 1bc20b8ea799177885b17fc5a8a7b77975f6e4b9
Author: zhouxh <gz...@pivotal.io>
AuthorDate: Tue Sep 26 17:08:44 2017 -0700
GEODE-3273: spotlessApply
---
.../cache/lucene/LuceneIndexMaintenanceIntegrationTest.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
index af2c120..9ee8e3c 100644
--- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
+++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
@@ -132,7 +132,8 @@ public class LuceneIndexMaintenanceIntegrationTest extends LuceneIntegrationTest
@Test
public void serializerExceptionShouldNotImpactOtherEvents() throws Exception {
luceneService.createIndexFactory().setFields("title", "description")
- .setLuceneSerializer(new TestCatchingExceptionInSerializer("title 3")).create(INDEX_NAME, REGION_NAME);
+ .setLuceneSerializer(new TestCatchingExceptionInSerializer("title 3"))
+ .create(INDEX_NAME, REGION_NAME);
Region region = createRegion(REGION_NAME, RegionShortcut.PARTITION);
region.put("object-1", new TestObject("title 1", "hello world"));
@@ -335,13 +336,13 @@ public class LuceneIndexMaintenanceIntegrationTest extends LuceneIntegrationTest
}
private static class TestCatchingExceptionInSerializer extends HeterogeneousLuceneSerializer {
-
+
String match;
-
+
TestCatchingExceptionInSerializer(String match) {
this.match = match;
}
-
+
@Override
public Collection<Document> toDocuments(LuceneIndex index, Object value) {
TestObject testObject = (TestObject) value;
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].