Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2616 31b73a77a -> 6f2277864


spotlessApply changes


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

Branch: refs/heads/feature/GEODE-2616
Commit: 6f22778649a4feebacca41b75b3feef41ddce59b
Parents: 31b73a7
Author: Darrel Schneider <dschnei...@pivotal.io>
Authored: Tue Mar 7 14:18:01 2017 -0800
Committer: Darrel Schneider <dschnei...@pivotal.io>
Committed: Tue Mar 7 14:18:01 2017 -0800

----------------------------------------------------------------------
 .../apache/geode/internal/cache/PartitionedRegion.java    |  3 ++-
 .../apache/geode/internal/cache/ColocatedPRJUnitTest.java | 10 ++++++----
 .../geode/internal/cache/PartitionedRegionTestHelper.java |  4 +++-
 3 files changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/6f227786/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
 
b/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
index 342f0e6..173f35c 100755
--- 
a/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
+++ 
b/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
@@ -600,7 +600,8 @@ public class PartitionedRegion extends LocalRegion
 
   private byte fixedPASet;
 
-  private final List<PartitionedRegion> colocatedByList = new 
CopyOnWriteArrayList<PartitionedRegion>();
+  private final List<PartitionedRegion> colocatedByList =
+      new CopyOnWriteArrayList<PartitionedRegion>();
 
   private final PartitionListener[] partitionListeners;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/6f227786/geode-core/src/test/java/org/apache/geode/internal/cache/ColocatedPRJUnitTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/org/apache/geode/internal/cache/ColocatedPRJUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/internal/cache/ColocatedPRJUnitTest.java
index cceab0c..66484d9 100644
--- 
a/geode-core/src/test/java/org/apache/geode/internal/cache/ColocatedPRJUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/internal/cache/ColocatedPRJUnitTest.java
@@ -32,14 +32,16 @@ public class ColocatedPRJUnitTest {
   @SuppressWarnings("rawtypes")
   @Test
   public void destroyColocatedPRCheckForLeak() {
-    PartitionedRegion parent = (PartitionedRegion) 
PartitionedRegionTestHelper.createPartionedRegion("PARENT");
+    PartitionedRegion parent =
+        (PartitionedRegion) 
PartitionedRegionTestHelper.createPartionedRegion("PARENT");
     List<PartitionedRegion> colocatedList = parent.getColocatedByList();
     assertEquals(0, colocatedList.size());
-    PartitionAttributes PRatts = new 
PartitionAttributesFactory().setColocatedWith("/PARENT").create();
-    PartitionedRegion child = (PartitionedRegion) 
PartitionedRegionTestHelper.createPartionedRegion("CHILD", PRatts);
+    PartitionAttributes PRatts =
+        new PartitionAttributesFactory().setColocatedWith("/PARENT").create();
+    PartitionedRegion child =
+        (PartitionedRegion) 
PartitionedRegionTestHelper.createPartionedRegion("CHILD", PRatts);
     assertTrue(colocatedList.contains(child));
     child.destroyRegion();
     assertFalse(colocatedList.contains(child));
   }
 }
- 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/geode/blob/6f227786/geode-core/src/test/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java
 
b/geode-core/src/test/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java
index f9cd8b5..2824d74 100644
--- 
a/geode-core/src/test/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java
+++ 
b/geode-core/src/test/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java
@@ -51,11 +51,13 @@ public class PartitionedRegionTestHelper
   public static Region createPartionedRegion(String regionname) throws 
RegionExistsException {
     return createPartionedRegion(regionname, new 
PartitionAttributesFactory().create());
   }
+
   /**
    * This method creates a partitioned region with the given PR attributes. 
The cache created is a
    * loner, so this is only suitable for single VM tests.
    */
-  public static Region createPartionedRegion(String regionname, 
PartitionAttributes prattribs) throws RegionExistsException {
+  public static Region createPartionedRegion(String regionname, 
PartitionAttributes prattribs)
+      throws RegionExistsException {
     AttributesFactory attribFactory = new AttributesFactory();
     attribFactory.setDataPolicy(DataPolicy.PARTITION);
     attribFactory.setPartitionAttributes(prattribs);

Reply via email to