geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject geode git commit: [GEODE-2381] spotless: line break on enum constants.
Date Mon, 06 Feb 2017 23:38:43 GMT
Repository: geode
Updated Branches:
  refs/heads/develop e769796c5 -> 2df3063f6


[GEODE-2381] spotless: line break on enum constants.

* Change the style XML file to insert a line break after each constant
  of an enum.
* This commit is just the style file change; spotless will be applied
  next.
* Apply spotless to fix enums and nothing else in this commit.

There may be a better way to do this and allow simple enums to be all on
one line, but this looks better to me.

This closes #368


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

Branch: refs/heads/develop
Commit: 2df3063f69b8e0a444896950003b344df4410826
Parents: e769796
Author: Galen O'Sullivan <gosullivan@pivotal.io>
Authored: Fri Jan 27 14:19:49 2017 -0800
Committer: Kirk Lund <klund@apache.org>
Committed: Mon Feb 6 15:30:48 2017 -0800

----------------------------------------------------------------------
 etc/eclipse-java-google-style.xml               |   2 +-
 .../internal/filter/ListenerEventType.java      |   7 +-
 .../geode/distributed/AbstractLauncher.java     |   8 +-
 .../geode/distributed/LocatorLauncher.java      |   9 +-
 .../geode/distributed/ServerLauncher.java       |   8 +-
 .../distributed/internal/ResourceEvent.java     |  28 ++++-
 .../geode/internal/InternalDataSerializer.java  |   5 +-
 .../geode/internal/cache/FilterProfile.java     |  15 ++-
 .../internal/cache/InitialImageOperation.java   |  21 +++-
 .../cache/tx/TransactionalOperation.java        |  16 ++-
 .../cache/xmlcache/CacheXmlVersion.java         |  43 +++----
 .../offheap/annotations/OffHeapIdentifier.java  |  22 ++--
 .../geode/internal/process/signal/Signal.java   | 114 ++++++-------------
 .../internal/process/signal/SignalType.java     |  12 +-
 .../security/SecurableCommunicationChannel.java |  13 ++-
 .../platform/LinuxProcFsStatistics.java         |   8 +-
 .../internal/web/http/HttpHeader.java           |  80 +++++++------
 .../java/org/apache/geode/pdx/FieldType.java    |  65 ++++-------
 .../geode/cache/snapshot/RegionGenerator.java   |   7 +-
 19 files changed, 256 insertions(+), 227 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/etc/eclipse-java-google-style.xml
----------------------------------------------------------------------
diff --git a/etc/eclipse-java-google-style.xml b/etc/eclipse-java-google-style.xml
index 08d930a..1b9ae7b 100644
--- a/etc/eclipse-java-google-style.xml
+++ b/etc/eclipse-java-google-style.xml
@@ -291,7 +291,7 @@
 <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
 <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="48"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
 <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/ListenerEventType.java
----------------------------------------------------------------------
diff --git a/extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/ListenerEventType.java b/extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/ListenerEventType.java
index 2e4337d..36f2410 100644
--- a/extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/ListenerEventType.java
+++ b/extensions/geode-modules-session-internal/src/main/java/org/apache/geode/modules/session/internal/filter/ListenerEventType.java
@@ -23,12 +23,15 @@ public enum ListenerEventType {
   /**
    * HttpSessionAttributeListener
    */
-  SESSION_ATTRIBUTE_ADDED, SESSION_ATTRIBUTE_REMOVED, SESSION_ATTRIBUTE_REPLACED,
+  SESSION_ATTRIBUTE_ADDED,
+  SESSION_ATTRIBUTE_REMOVED,
+  SESSION_ATTRIBUTE_REPLACED,
 
   /**
    * HttpSessionBindingListener
    */
-  SESSION_VALUE_BOUND, SESSION_VALUE_UNBOUND,
+  SESSION_VALUE_BOUND,
+  SESSION_VALUE_UNBOUND,
 
   /**
    * HttpSessionListener

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java b/geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java
index d5626dd..64e20f3 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java
@@ -853,10 +853,10 @@ public abstract class AbstractLauncher<T extends Comparable<T>> implements Runna
    * as a Cache Server, a Locator or a Manager).
    */
   public static enum Status {
-    NOT_RESPONDING(LocalizedStrings.Launcher_Status_NOT_RESPONDING.toLocalizedString()), ONLINE(
-        LocalizedStrings.Launcher_Status_ONLINE.toLocalizedString()), STARTING(
-            LocalizedStrings.Launcher_Status_STARTING.toLocalizedString()), STOPPED(
-                LocalizedStrings.Launcher_Status_STOPPED.toLocalizedString());
+    NOT_RESPONDING(LocalizedStrings.Launcher_Status_NOT_RESPONDING.toLocalizedString()),
+    ONLINE(LocalizedStrings.Launcher_Status_ONLINE.toLocalizedString()),
+    STARTING(LocalizedStrings.Launcher_Status_STARTING.toLocalizedString()),
+    STOPPED(LocalizedStrings.Launcher_Status_STOPPED.toLocalizedString());
 
     private final String description;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java b/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
index 3a3ee82..856a2cd 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
@@ -1843,10 +1843,11 @@ public final class LocatorLauncher extends AbstractLauncher<String> {
    * An enumerated type representing valid commands to the Locator launcher.
    */
   public static enum Command {
-    START("start", "bind-address", "hostname-for-clients", "port", "force", "debug",
-        "help"), STATUS("status", "bind-address", "port", "member", "pid", "dir", "debug",
-            "help"), STOP("stop", "member", "pid", "dir", "debug",
-                "help"), VERSION("version"), UNSPECIFIED("unspecified");
+    START("start", "bind-address", "hostname-for-clients", "port", "force", "debug", "help"),
+    STATUS("status", "bind-address", "port", "member", "pid", "dir", "debug", "help"),
+    STOP("stop", "member", "pid", "dir", "debug", "help"),
+    VERSION("version"),
+    UNSPECIFIED("unspecified");
 
     private final List<String> options;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java b/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
index 72d8c61..9435bd8 100755
--- a/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java
@@ -2484,9 +2484,11 @@ public class ServerLauncher extends AbstractLauncher<String> {
    */
   public static enum Command {
     START("start", "assign-buckets", "disable-default-server", "rebalance", SERVER_BIND_ADDRESS,
-        "server-port", "force", "debug",
-        "help"), STATUS("status", "member", "pid", "dir", "debug", "help"), STOP("stop", "member",
-            "pid", "dir", "debug", "help"), UNSPECIFIED("unspecified"), VERSION("version");
+        "server-port", "force", "debug", "help"),
+    STATUS("status", "member", "pid", "dir", "debug", "help"),
+    STOP("stop", "member", "pid", "dir", "debug", "help"),
+    UNSPECIFIED("unspecified"),
+    VERSION("version");
 
     private final List<String> options;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/distributed/internal/ResourceEvent.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/distributed/internal/ResourceEvent.java b/geode-core/src/main/java/org/apache/geode/distributed/internal/ResourceEvent.java
index fec732d..acfb157 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/internal/ResourceEvent.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/internal/ResourceEvent.java
@@ -19,7 +19,33 @@ package org.apache.geode.distributed.internal;
  *
  */
 public enum ResourceEvent {
-  CACHE_CREATE, REGION_CREATE, DISKSTORE_CREATE, GATEWAYSENDER_CREATE, LOCKSERVICE_CREATE, CACHE_REMOVE, REGION_REMOVE, DISKSTORE_REMOVE, GATEWAYSENDER_REMOVE, LOCKSERVICE_REMOVE, MANAGER_CREATE, MANAGER_START, MANAGER_STOP, LOCATOR_START, ASYNCEVENTQUEUE_CREATE, SYSTEM_ALERT, CACHE_SERVER_START, CACHE_SERVER_STOP, GATEWAYRECEIVER_START, GATEWAYRECEIVER_STOP, GATEWAYRECEIVER_CREATE, GATEWAYSENDER_START, GATEWAYSENDER_STOP, GATEWAYSENDER_PAUSE, GATEWAYSENDER_RESUME, CACHE_SERVICE_CREATE, CACHE_SERVICE_REMOVE
+  CACHE_CREATE,
+  REGION_CREATE,
+  DISKSTORE_CREATE,
+  GATEWAYSENDER_CREATE,
+  LOCKSERVICE_CREATE,
+  CACHE_REMOVE,
+  REGION_REMOVE,
+  DISKSTORE_REMOVE,
+  GATEWAYSENDER_REMOVE,
+  LOCKSERVICE_REMOVE,
+  MANAGER_CREATE,
+  MANAGER_START,
+  MANAGER_STOP,
+  LOCATOR_START,
+  ASYNCEVENTQUEUE_CREATE,
+  SYSTEM_ALERT,
+  CACHE_SERVER_START,
+  CACHE_SERVER_STOP,
+  GATEWAYRECEIVER_START,
+  GATEWAYRECEIVER_STOP,
+  GATEWAYRECEIVER_CREATE,
+  GATEWAYSENDER_START,
+  GATEWAYSENDER_STOP,
+  GATEWAYSENDER_PAUSE,
+  GATEWAYSENDER_RESUME,
+  CACHE_SERVICE_CREATE,
+  CACHE_SERVICE_REMOVE
 
 }
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java b/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java
index 82fbf9d..f4f4069 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java
@@ -195,8 +195,9 @@ public abstract class InternalDataSerializer extends DataSerializer implements D
    * @since GemFire 6.6.2
    */
   private static enum SERIALIZATION_VERSION {
-    vINVALID, v660, // includes 6.6.0.x and 6.6.1.x. Note that no serialization changes were made in
-                    // 6.6 until 6.6.2
+    vINVALID,
+    v660, // includes 6.6.0.x and 6.6.1.x. Note that no serialization changes were made in
+          // 6.6 until 6.6.2
     v662 // 6.6.2.x or later
     // NOTE if you add a new constant make sure and update "latestVersion".
   }

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java b/geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java
index 045674a..e7175f3 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java
@@ -89,7 +89,20 @@ public class FilterProfile implements DataSerializableFixedID {
 
   /** enumeration of distributed profile operations */
   static enum operationType {
-    REGISTER_KEY, REGISTER_KEYS, REGISTER_PATTERN, REGISTER_FILTER, UNREGISTER_KEY, UNREGISTER_KEYS, UNREGISTER_PATTERN, UNREGISTER_FILTER, CLEAR, HAS_CQ, REGISTER_CQ, CLOSE_CQ, STOP_CQ, SET_CQ_STATE
+    REGISTER_KEY,
+    REGISTER_KEYS,
+    REGISTER_PATTERN,
+    REGISTER_FILTER,
+    UNREGISTER_KEY,
+    UNREGISTER_KEYS,
+    UNREGISTER_PATTERN,
+    UNREGISTER_FILTER,
+    CLEAR,
+    HAS_CQ,
+    REGISTER_CQ,
+    CLOSE_CQ,
+    STOP_CQ,
+    SET_CQ_STATE
   }
 
   /**

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java b/geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java
index e8a6d96..3ec8152 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java
@@ -4004,11 +4004,22 @@ public class InitialImageOperation {
   private static GIITestHook internalAfterSavedRVVEnd;
 
   public enum GIITestHookType {
-    BeforeGetInitialImage, BeforeRequestRVV, AfterRequestRVV, AfterCalculatedUnfinishedOps, BeforeSavedReceivedRVV, AfterSavedReceivedRVV, AfterSentRequestImage,
-
-    AfterReceivedRequestImage, DuringPackingImage, AfterSentImageReply,
-
-    AfterReceivedImageReply, DuringApplyDelta, BeforeCleanExpiredTombstones, AfterSavedRVVEnd
+    BeforeGetInitialImage,
+    BeforeRequestRVV,
+    AfterRequestRVV,
+    AfterCalculatedUnfinishedOps,
+    BeforeSavedReceivedRVV,
+    AfterSavedReceivedRVV,
+    AfterSentRequestImage,
+
+    AfterReceivedRequestImage,
+    DuringPackingImage,
+    AfterSentImageReply,
+
+    AfterReceivedImageReply,
+    DuringApplyDelta,
+    BeforeCleanExpiredTombstones,
+    AfterSavedRVVEnd
   }
 
   public static GIITestHook getGIITestHookForCheckingPurpose(final GIITestHookType type) {

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/cache/tx/TransactionalOperation.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/tx/TransactionalOperation.java b/geode-core/src/main/java/org/apache/geode/internal/cache/tx/TransactionalOperation.java
index 3ca1eb3..32bb750 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/tx/TransactionalOperation.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/tx/TransactionalOperation.java
@@ -24,9 +24,19 @@ import java.util.Set;
  */
 public class TransactionalOperation {
   static public enum ServerRegionOperation {
-    CONTAINS_KEY, CONTAINS_VALUE, CONTAINS_VALUE_FOR_KEY, DESTROY, // includes REMOVE(k,v)
-    EXECUTE_FUNCTION, GET, GET_ENTRY, GET_ALL, INVALIDATE, KEY_SET, PUT, // includes PUT_IF_ABSENT
-    PUT_ALL, REMOVE_ALL;
+    CONTAINS_KEY,
+    CONTAINS_VALUE,
+    CONTAINS_VALUE_FOR_KEY,
+    DESTROY, // includes REMOVE(k,v)
+    EXECUTE_FUNCTION,
+    GET,
+    GET_ENTRY,
+    GET_ALL,
+    INVALIDATE,
+    KEY_SET,
+    PUT, // includes PUT_IF_ABSENT
+    PUT_ALL,
+    REMOVE_ALL;
 
     /**
      * @param op

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java b/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java
index 84dfa29..413fc4a 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java
@@ -25,33 +25,22 @@ import java.util.HashMap;
  */
 // TODO future - replace constants in CacheXml with this Enum completely
 public enum CacheXmlVersion {
-  GEMFIRE_3_0(CacheXml.VERSION_3_0, CacheXml.PUBLIC_ID_3_0, CacheXml.SYSTEM_ID_3_0, null,
-      null), GEMFIRE_4_0(CacheXml.VERSION_4_0, CacheXml.PUBLIC_ID_4_0, CacheXml.SYSTEM_ID_4_0, null,
-          null), GEMFIRE_4_1(CacheXml.VERSION_4_1, CacheXml.PUBLIC_ID_4_1, CacheXml.SYSTEM_ID_4_1,
-              null, null), GEMFIRE_5_0(CacheXml.VERSION_5_0, CacheXml.PUBLIC_ID_5_0,
-                  CacheXml.SYSTEM_ID_5_0, null, null), GEMFIRE_5_1(CacheXml.VERSION_5_1,
-                      CacheXml.PUBLIC_ID_5_1, CacheXml.SYSTEM_ID_5_1, null, null), GEMFIRE_5_5(
-                          CacheXml.VERSION_5_5, CacheXml.PUBLIC_ID_5_5, CacheXml.SYSTEM_ID_5_5,
-                          null, null), GEMFIRE_5_7(CacheXml.VERSION_5_7, CacheXml.PUBLIC_ID_5_7,
-                              CacheXml.SYSTEM_ID_5_7, null, null), GEMFIRE_5_8(CacheXml.VERSION_5_8,
-                                  CacheXml.PUBLIC_ID_5_8, CacheXml.SYSTEM_ID_5_8, null,
-                                  null), GEMFIRE_6_0(CacheXml.VERSION_6_0, CacheXml.PUBLIC_ID_6_0,
-                                      CacheXml.SYSTEM_ID_6_0, null, null), GEMFIRE_6_1(
-                                          CacheXml.VERSION_6_1, CacheXml.PUBLIC_ID_6_1,
-                                          CacheXml.SYSTEM_ID_6_1, null, null), GEMFIRE_6_5(
-                                              CacheXml.VERSION_6_5, CacheXml.PUBLIC_ID_6_5,
-                                              CacheXml.SYSTEM_ID_6_5, null, null), GEMFIRE_6_6(
-                                                  CacheXml.VERSION_6_6, CacheXml.PUBLIC_ID_6_6,
-                                                  CacheXml.SYSTEM_ID_6_6, null, null), GEMFIRE_7_0(
-                                                      CacheXml.VERSION_7_0, CacheXml.PUBLIC_ID_7_0,
-                                                      CacheXml.SYSTEM_ID_7_0, null,
-                                                      null), GEMFIRE_8_0(CacheXml.VERSION_8_0,
-                                                          CacheXml.PUBLIC_ID_8_0,
-                                                          CacheXml.SYSTEM_ID_8_0, null,
-                                                          null), GEMFIRE_8_1(CacheXml.VERSION_8_1,
-                                                              null, null,
-                                                              CacheXml.SCHEMA_8_1_LOCATION,
-                                                              CacheXml.GEMFIRE_NAMESPACE),
+  GEMFIRE_3_0(CacheXml.VERSION_3_0, CacheXml.PUBLIC_ID_3_0, CacheXml.SYSTEM_ID_3_0, null, null),
+  GEMFIRE_4_0(CacheXml.VERSION_4_0, CacheXml.PUBLIC_ID_4_0, CacheXml.SYSTEM_ID_4_0, null, null),
+  GEMFIRE_4_1(CacheXml.VERSION_4_1, CacheXml.PUBLIC_ID_4_1, CacheXml.SYSTEM_ID_4_1, null, null),
+  GEMFIRE_5_0(CacheXml.VERSION_5_0, CacheXml.PUBLIC_ID_5_0, CacheXml.SYSTEM_ID_5_0, null, null),
+  GEMFIRE_5_1(CacheXml.VERSION_5_1, CacheXml.PUBLIC_ID_5_1, CacheXml.SYSTEM_ID_5_1, null, null),
+  GEMFIRE_5_5(CacheXml.VERSION_5_5, CacheXml.PUBLIC_ID_5_5, CacheXml.SYSTEM_ID_5_5, null, null),
+  GEMFIRE_5_7(CacheXml.VERSION_5_7, CacheXml.PUBLIC_ID_5_7, CacheXml.SYSTEM_ID_5_7, null, null),
+  GEMFIRE_5_8(CacheXml.VERSION_5_8, CacheXml.PUBLIC_ID_5_8, CacheXml.SYSTEM_ID_5_8, null, null),
+  GEMFIRE_6_0(CacheXml.VERSION_6_0, CacheXml.PUBLIC_ID_6_0, CacheXml.SYSTEM_ID_6_0, null, null),
+  GEMFIRE_6_1(CacheXml.VERSION_6_1, CacheXml.PUBLIC_ID_6_1, CacheXml.SYSTEM_ID_6_1, null, null),
+  GEMFIRE_6_5(CacheXml.VERSION_6_5, CacheXml.PUBLIC_ID_6_5, CacheXml.SYSTEM_ID_6_5, null, null),
+  GEMFIRE_6_6(CacheXml.VERSION_6_6, CacheXml.PUBLIC_ID_6_6, CacheXml.SYSTEM_ID_6_6, null, null),
+  GEMFIRE_7_0(CacheXml.VERSION_7_0, CacheXml.PUBLIC_ID_7_0, CacheXml.SYSTEM_ID_7_0, null, null),
+  GEMFIRE_8_0(CacheXml.VERSION_8_0, CacheXml.PUBLIC_ID_8_0, CacheXml.SYSTEM_ID_8_0, null, null),
+  GEMFIRE_8_1(CacheXml.VERSION_8_1, null, null, CacheXml.SCHEMA_8_1_LOCATION,
+      CacheXml.GEMFIRE_NAMESPACE),
 
   // Ordinality matters here, so keep the 1.0 version after the 8.x versions
   // Version 1.0 is the start of Geode versions. In terms of releases, Geode 1.0 > GemFire 8.x.

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/OffHeapIdentifier.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/OffHeapIdentifier.java b/geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/OffHeapIdentifier.java
index 1c791c9..859b7fc 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/OffHeapIdentifier.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/OffHeapIdentifier.java
@@ -25,15 +25,19 @@ public enum OffHeapIdentifier {
    */
   DEFAULT("DEFAULT"),
 
-  ENTRY_EVENT_NEW_VALUE("org.apache.geode.internal.cache.KeyInfo.newValue"), ENTRY_EVENT_OLD_VALUE(
-      "org.apache.geode.internal.cache.EntryEventImpl.oldValue"), TX_ENTRY_STATE(
-          "org.apache.geode.internal.cache.originalVersionId"), GATEWAY_SENDER_EVENT_IMPL_VALUE(
-              "org.apache.geode.internal.cache.wan.GatewaySenderEventImpl.valueObj"), TEST_OFF_HEAP_REGION_BASE_LISTENER(
-                  "org.apache.geode.internal.offheap.OffHeapRegionBase.MyCacheListener.ohOldValue and ohNewValue"), REGION_ENTRY_VALUE(
-                      ""), ABSTRACT_REGION_ENTRY_PREPARE_VALUE_FOR_CACHE(
-                          "org.apache.geode.internal.cache.AbstractRegionEntry.prepareValueForCache(...)"), ABSTRACT_REGION_ENTRY_FILL_IN_VALUE(
-                              "org.apache.geode.internal.cache.AbstractRegionEntry.fillInValue(...)"), GEMFIRE_TRANSACTION_BYTE_SOURCE(
-                                  ""),
+  ENTRY_EVENT_NEW_VALUE("org.apache.geode.internal.cache.KeyInfo.newValue"),
+  ENTRY_EVENT_OLD_VALUE("org.apache.geode.internal.cache.EntryEventImpl.oldValue"),
+  TX_ENTRY_STATE("org.apache.geode.internal.cache.originalVersionId"),
+  GATEWAY_SENDER_EVENT_IMPL_VALUE(
+      "org.apache.geode.internal.cache.wan.GatewaySenderEventImpl.valueObj"),
+  TEST_OFF_HEAP_REGION_BASE_LISTENER(
+      "org.apache.geode.internal.offheap.OffHeapRegionBase.MyCacheListener.ohOldValue and ohNewValue"),
+  REGION_ENTRY_VALUE(""),
+  ABSTRACT_REGION_ENTRY_PREPARE_VALUE_FOR_CACHE(
+      "org.apache.geode.internal.cache.AbstractRegionEntry.prepareValueForCache(...)"),
+  ABSTRACT_REGION_ENTRY_FILL_IN_VALUE(
+      "org.apache.geode.internal.cache.AbstractRegionEntry.fillInValue(...)"),
+  GEMFIRE_TRANSACTION_BYTE_SOURCE(""),
 
   /**
    * Used to declare possible grouping that are not yet identified.

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/process/signal/Signal.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/process/signal/Signal.java b/geode-core/src/main/java/org/apache/geode/internal/process/signal/Signal.java
index e5244fc..faab4ed 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/process/signal/Signal.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/process/signal/Signal.java
@@ -32,83 +32,43 @@ import org.apache.geode.internal.lang.StringUtils;
  */
 @SuppressWarnings("unused")
 public enum Signal {
-  SIGHUP(1, "HUP", SignalType.INTERRUPT, "Hang up. JVM exits normally."), SIGINT(2, "INT",
-      SignalType.INTERRUPT, "Interactive attention (CTRL-C). JVM exits normally."), SIGQUIT(3,
-          "QUIT", SignalType.CONTROL,
-          "By default, this triggers a Javadump (or Thread dump)."), SIGILL(4, "ILL",
-              SignalType.EXCEPTION,
-              "Illegal instruction (attempt to invoke a unknown machine instruction)."), SIGTRAP(5,
-                  "TRAP", SignalType.CONTROL, "Used by the JIT."), SIGABRT(6, "ABRT",
-                      SignalType.ERROR,
-                      "Abnormal termination. The JVM raises this signal whenever it detects a JVM fault."), SIGEMT(
-                          7, "EMT", SignalType.UNKNOWN,
-                          "EMT instruction (AIX specific)."), SIGFPE(8, "FPE", SignalType.EXCEPTION,
-                              "Floating point exception (divide by zero)."), SIGKILL(9, "KILL",
-                                  SignalType.CONTROL, "Kill process."), SIGBUS(10, "BUS",
-                                      SignalType.EXCEPTION,
-                                      "Bus error (attempt to address nonexistent memory location)."), SIGSEGV(
-                                          11, "SEGV", SignalType.EXCEPTION,
-                                          "Incorrect access to memory (write to inaccessible memory)."), SIGSYS(
-                                              12, "SYS", SignalType.EXCEPTION,
-                                              "Bad system call issued."), SIGPIPE(13, "PIPE",
-                                                  SignalType.UNKNOWN,
-                                                  "A write to a pipe that is not being read. JVM ignores this."), SIGALRM(
-                                                      14, "ALRM", SignalType.CONTROL,
-                                                      "Alarm."), SIGTERM(15, "TERM",
-                                                          SignalType.INTERRUPT,
-                                                          "Termination request. JVM will exit normally."), SIGURG(
-                                                              16, "URG", SignalType.UNKNOWN,
-                                                              "Unknown"), SIGSTOP(17, "STOP",
-                                                                  SignalType.UNKNOWN,
-                                                                  "Unknown"), SIGTSTP(18, "TSTP",
-                                                                      SignalType.INTERRUPT,
-                                                                      "Ctrl-Y"), SIGCONT(19, "CONT",
-                                                                          SignalType.UNKNOWN,
-                                                                          "Unknown"), SIGCHLD(20,
-                                                                              "CHLD",
-                                                                              SignalType.CONTROL,
-                                                                              "Used by the SDK for internal control."), SIGTTIN(
-                                                                                  21, "TTIN",
-                                                                                  SignalType.UNKNOWN,
-                                                                                  "Unknown"), SIGTTOU(
-                                                                                      22, "TTOU",
-                                                                                      SignalType.UNKNOWN,
-                                                                                      "Unknown"), SIGIO(
-                                                                                          23, "IO",
-                                                                                          SignalType.UNKNOWN,
-                                                                                          "Unknown"), SIGXCPU(
-                                                                                              24,
-                                                                                              "XCPU",
-                                                                                              SignalType.EXCEPTION,
-                                                                                              "CPU time limit exceeded (you've been running too long!)."), SIGXFSZ(
-                                                                                                  25,
-                                                                                                  "XFSZ",
-                                                                                                  SignalType.EXCEPTION,
-                                                                                                  "File size limit exceeded."), SIGVTALRM(
-                                                                                                      26,
-                                                                                                      "VTALRM",
-                                                                                                      SignalType.CONTROL,
-                                                                                                      "Virtual Terminal Alarm?"), SIGPROF(
-                                                                                                          27,
-                                                                                                          "PROF",
-                                                                                                          SignalType.UNKNOWN,
-                                                                                                          "Unknown"), SIGWINCH(
-                                                                                                              28,
-                                                                                                              "WINCH",
-                                                                                                              SignalType.UNKNOWN,
-                                                                                                              "Unknown"), SIGINFO(
-                                                                                                                  29,
-                                                                                                                  "INFO",
-                                                                                                                  SignalType.CONTROL,
-                                                                                                                  "Unknown"), SIGUSR1(
-                                                                                                                      30,
-                                                                                                                      "USR1",
-                                                                                                                      SignalType.UNKNOWN,
-                                                                                                                      "Unknown"), SIGUSR2(
-                                                                                                                          31,
-                                                                                                                          "USR2",
-                                                                                                                          SignalType.UNKNOWN,
-                                                                                                                          "Unknown");
+  SIGHUP(1, "HUP", SignalType.INTERRUPT, "Hang up. JVM exits normally."),
+  SIGINT(2, "INT", SignalType.INTERRUPT, "Interactive attention (CTRL-C). JVM exits normally."),
+  SIGQUIT(3, "QUIT", SignalType.CONTROL, "By default, this triggers a Javadump (or Thread dump)."),
+  SIGILL(4, "ILL", SignalType.EXCEPTION,
+      "Illegal instruction (attempt to invoke a unknown machine instruction)."),
+  SIGTRAP(5, "TRAP", SignalType.CONTROL, "Used by the JIT."),
+  SIGABRT(6, "ABRT", SignalType.ERROR,
+      "Abnormal termination. The JVM raises this signal whenever it detects a JVM fault."),
+  SIGEMT(7, "EMT", SignalType.UNKNOWN, "EMT instruction (AIX specific)."),
+  SIGFPE(8, "FPE", SignalType.EXCEPTION, "Floating point exception (divide by zero)."),
+  SIGKILL(9, "KILL", SignalType.CONTROL, "Kill process."),
+  SIGBUS(10, "BUS", SignalType.EXCEPTION,
+      "Bus error (attempt to address nonexistent memory location)."),
+  SIGSEGV(11, "SEGV", SignalType.EXCEPTION,
+      "Incorrect access to memory (write to inaccessible memory)."),
+  SIGSYS(12, "SYS", SignalType.EXCEPTION, "Bad system call issued."),
+  SIGPIPE(13, "PIPE", SignalType.UNKNOWN,
+      "A write to a pipe that is not being read. JVM ignores this."),
+  SIGALRM(14, "ALRM", SignalType.CONTROL, "Alarm."),
+  SIGTERM(15, "TERM", SignalType.INTERRUPT, "Termination request. JVM will exit normally."),
+  SIGURG(16, "URG", SignalType.UNKNOWN, "Unknown"),
+  SIGSTOP(17, "STOP", SignalType.UNKNOWN, "Unknown"),
+  SIGTSTP(18, "TSTP", SignalType.INTERRUPT, "Ctrl-Y"),
+  SIGCONT(19, "CONT", SignalType.UNKNOWN, "Unknown"),
+  SIGCHLD(20, "CHLD", SignalType.CONTROL, "Used by the SDK for internal control."),
+  SIGTTIN(21, "TTIN", SignalType.UNKNOWN, "Unknown"),
+  SIGTTOU(22, "TTOU", SignalType.UNKNOWN, "Unknown"),
+  SIGIO(23, "IO", SignalType.UNKNOWN, "Unknown"),
+  SIGXCPU(24, "XCPU", SignalType.EXCEPTION,
+      "CPU time limit exceeded (you've been running too long!)."),
+  SIGXFSZ(25, "XFSZ", SignalType.EXCEPTION, "File size limit exceeded."),
+  SIGVTALRM(26, "VTALRM", SignalType.CONTROL, "Virtual Terminal Alarm?"),
+  SIGPROF(27, "PROF", SignalType.UNKNOWN, "Unknown"),
+  SIGWINCH(28, "WINCH", SignalType.UNKNOWN, "Unknown"),
+  SIGINFO(29, "INFO", SignalType.CONTROL, "Unknown"),
+  SIGUSR1(30, "USR1", SignalType.UNKNOWN, "Unknown"),
+  SIGUSR2(31, "USR2", SignalType.UNKNOWN, "Unknown");
 
   private final int number;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/process/signal/SignalType.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/process/signal/SignalType.java b/geode-core/src/main/java/org/apache/geode/internal/process/signal/SignalType.java
index 3824c04..9545dab 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/process/signal/SignalType.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/process/signal/SignalType.java
@@ -22,11 +22,13 @@ package org.apache.geode.internal.process.signal;
  * @since GemFire 7.0
  */
 public enum SignalType {
-  CONTROL("Other signals that are used by the JVM for control purposes."), ERROR(
-      "The JVM raises a SIGABRT if it detects a condition from which it cannot recover."), EXCEPTION(
-          "The operating system synchronously raises an appropriate exception signal whenever an unrecoverable condition occurs."), INTERRUPT(
-              "Interrupt signals are raised asynchronously, from outside a JVM process, to request shut down."), UNKNOWN(
-                  "Unknown");
+  CONTROL("Other signals that are used by the JVM for control purposes."),
+  ERROR("The JVM raises a SIGABRT if it detects a condition from which it cannot recover."),
+  EXCEPTION(
+      "The operating system synchronously raises an appropriate exception signal whenever an unrecoverable condition occurs."),
+  INTERRUPT(
+      "Interrupt signals are raised asynchronously, from outside a JVM process, to request shut down."),
+  UNKNOWN("Unknown");
 
   private final String description;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/security/SecurableCommunicationChannel.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/security/SecurableCommunicationChannel.java b/geode-core/src/main/java/org/apache/geode/internal/security/SecurableCommunicationChannel.java
index 57b9bfd..2ec557b 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/security/SecurableCommunicationChannel.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/security/SecurableCommunicationChannel.java
@@ -19,11 +19,14 @@ import org.apache.geode.security.SecurableCommunicationChannels;
 import org.apache.geode.GemFireConfigException;
 
 public enum SecurableCommunicationChannel {
-  ALL(SecurableCommunicationChannels.ALL), CLUSTER(SecurableCommunicationChannels.CLUSTER), SERVER(
-      SecurableCommunicationChannels.SERVER), JMX(SecurableCommunicationChannels.JMX), WEB(
-          SecurableCommunicationChannels.WEB), GATEWAY(
-              SecurableCommunicationChannels.GATEWAY), LOCATOR(
-                  SecurableCommunicationChannels.LOCATOR), NONE("NO_COMPONENT");
+  ALL(SecurableCommunicationChannels.ALL),
+  CLUSTER(SecurableCommunicationChannels.CLUSTER),
+  SERVER(SecurableCommunicationChannels.SERVER),
+  JMX(SecurableCommunicationChannels.JMX),
+  WEB(SecurableCommunicationChannels.WEB),
+  GATEWAY(SecurableCommunicationChannels.GATEWAY),
+  LOCATOR(SecurableCommunicationChannels.LOCATOR),
+  NONE("NO_COMPONENT");
 
   private final String constant;
 

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxProcFsStatistics.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxProcFsStatistics.java b/geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxProcFsStatistics.java
index d921950..0b7ec0b 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxProcFsStatistics.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/statistics/platform/LinuxProcFsStatistics.java
@@ -26,7 +26,13 @@ import java.util.regex.Pattern;
 
 public class LinuxProcFsStatistics {
   private enum CPU {
-    USER, NICE, SYSTEM, IDLE, IOWAIT, IRQ, SOFTIRQ,
+    USER,
+    NICE,
+    SYSTEM,
+    IDLE,
+    IOWAIT,
+    IRQ,
+    SOFTIRQ,
     /** stands for aggregation of all columns not present in the enum list */
     OTHER
   }

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/management/internal/web/http/HttpHeader.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/web/http/HttpHeader.java b/geode-core/src/main/java/org/apache/geode/management/internal/web/http/HttpHeader.java
index 0d9ebc6..ee7e932 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/web/http/HttpHeader.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/web/http/HttpHeader.java
@@ -26,39 +26,53 @@ import org.apache.geode.internal.lang.StringUtils;
  */
 @SuppressWarnings("unused")
 public enum HttpHeader {
-  ACCEPT("Accept"), ACCEPT_CHARSET("Accept-Charset"), ACCEPT_ENCODING(
-      "Accept-Encoding"), ACCEPT_LANGUAGE("Accept-Language"), ACCEPT_RANGES("Accept-Ranges"), AGE(
-          "Age"), ALLOW("Allow"), AUTHORIZATION("Authorization"), CACHE_CONTROL(
-              "Cache-Control"), CONNECTION("Connection"), CONTENT_ENCODING(
-                  "Content-Encoding"), CONTENT_LANGUAGE("Content-Language"), CONTENT_LENGTH(
-                      "Content-Length"), CONTENT_LOCATION("Content-Location"), CONTENT_MD5(
-                          "Content-MD5"), CONTENT_RANGE("Content-Range"), CONTENT_TYPE(
-                              "Content-Type"), DATE("Date"), ETAG(
-                                  "ETag"), EXPECT("Expect"), EXPIRES("Expires"), FROM("From"), HOST(
-                                      "Host"), IF_MATCH("If-Match"), IF_MODIFIED_SINCE(
-                                          "If-Modified-Since"), IF_NONE_MATCH(
-                                              "If-None-Match"), IF_RANGE(
-                                                  "If-Range"), IF_UNMODIFIED_SINCE(
-                                                      "If-Unmodified-Since"), LAST_MODIFIED(
-                                                          "Last-Modified"), LOCATION(
-                                                              "Location"), MAX_FORWARDS(
-                                                                  "Max-Forwards"), PRAGMA(
-                                                                      "Pragma"), PROXY_AUTHENTICATE(
-                                                                          "Proxy-Authenticate"), PROXY_AUTHORIZATION(
-                                                                              "Proxy-Authorization"), RANGE(
-                                                                                  "Range"), REFERER(
-                                                                                      "Referer"), RETRY_AFTER(
-                                                                                          "Retry-After"), SERVER(
-                                                                                              "Server"), TE(
-                                                                                                  "TE"), TRAILER(
-                                                                                                      "Trailer"), TRANSFER_ENCODING(
-                                                                                                          "Transfer-Encoding"), UPGRADE(
-                                                                                                              "Upgrade"), USER_AGENT(
-                                                                                                                  "User-Agent"), VARY(
-                                                                                                                      "Vary"), VIA(
-                                                                                                                          "Via"), WARNING(
-                                                                                                                              "Warning"), WWW_AUTHENTICATE(
-                                                                                                                                  "WWW-Authenticate");
+  ACCEPT("Accept"),
+  ACCEPT_CHARSET("Accept-Charset"),
+  ACCEPT_ENCODING("Accept-Encoding"),
+  ACCEPT_LANGUAGE("Accept-Language"),
+  ACCEPT_RANGES("Accept-Ranges"),
+  AGE("Age"),
+  ALLOW("Allow"),
+  AUTHORIZATION("Authorization"),
+  CACHE_CONTROL("Cache-Control"),
+  CONNECTION("Connection"),
+  CONTENT_ENCODING("Content-Encoding"),
+  CONTENT_LANGUAGE("Content-Language"),
+  CONTENT_LENGTH("Content-Length"),
+  CONTENT_LOCATION("Content-Location"),
+  CONTENT_MD5("Content-MD5"),
+  CONTENT_RANGE("Content-Range"),
+  CONTENT_TYPE("Content-Type"),
+  DATE("Date"),
+  ETAG("ETag"),
+  EXPECT("Expect"),
+  EXPIRES("Expires"),
+  FROM("From"),
+  HOST("Host"),
+  IF_MATCH("If-Match"),
+  IF_MODIFIED_SINCE("If-Modified-Since"),
+  IF_NONE_MATCH("If-None-Match"),
+  IF_RANGE("If-Range"),
+  IF_UNMODIFIED_SINCE("If-Unmodified-Since"),
+  LAST_MODIFIED("Last-Modified"),
+  LOCATION("Location"),
+  MAX_FORWARDS("Max-Forwards"),
+  PRAGMA("Pragma"),
+  PROXY_AUTHENTICATE("Proxy-Authenticate"),
+  PROXY_AUTHORIZATION("Proxy-Authorization"),
+  RANGE("Range"),
+  REFERER("Referer"),
+  RETRY_AFTER("Retry-After"),
+  SERVER("Server"),
+  TE("TE"),
+  TRAILER("Trailer"),
+  TRANSFER_ENCODING("Transfer-Encoding"),
+  UPGRADE("Upgrade"),
+  USER_AGENT("User-Agent"),
+  VARY("Vary"),
+  VIA("Via"),
+  WARNING("Warning"),
+  WWW_AUTHENTICATE("WWW-Authenticate");
 
   // the name of the Http request or response header
   private final String name;

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/main/java/org/apache/geode/pdx/FieldType.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/pdx/FieldType.java b/geode-core/src/main/java/org/apache/geode/pdx/FieldType.java
index 35681f7..35472c8 100644
--- a/geode-core/src/main/java/org/apache/geode/pdx/FieldType.java
+++ b/geode-core/src/main/java/org/apache/geode/pdx/FieldType.java
@@ -31,49 +31,28 @@ import org.apache.geode.pdx.internal.DataSize;
  * @since GemFire 6.6.2
  */
 public enum FieldType {
-  BOOLEAN(true, DataSize.BOOLEAN_SIZE, "boolean", new byte[] {0}, false), BYTE(true,
-      DataSize.BYTE_SIZE, "byte", new byte[] {0},
-      0), CHAR(true, DataSize.CHAR_SIZE, "char", new byte[] {0, 0}, (char) 0), SHORT(true,
-          DataSize.SHORT_SIZE, "short", new byte[] {0, 0},
-          0), INT(true, DataSize.INTEGER_SIZE, "int", new byte[] {0, 0, 0, 0}, 0), LONG(true,
-              DataSize.LONG_SIZE, "long", new byte[] {0, 0, 0, 0, 0, 0, 0, 0},
-              0), FLOAT(true, DataSize.FLOAT_SIZE, "float", new byte[] {0, 0, 0, 0}, 0), DOUBLE(
-                  true, DataSize.DOUBLE_SIZE, "double", new byte[] {0, 0, 0, 0, 0, 0, 0, 0},
-                  0), DATE(true, DataSize.DATE_SIZE, "Date",
-                      new byte[] {-1, -1, -1, -1, -1, -1, -1, -1}, null), STRING(false, -1,
-                          "String", new byte[] {DSCODE.NULL_STRING}, null), OBJECT(false, -1,
-                              "Object", new byte[] {DSCODE.NULL}, null), BOOLEAN_ARRAY(false, -1,
-                                  "boolean[]", new byte[] {InternalDataSerializer.NULL_ARRAY},
-                                  null), CHAR_ARRAY(false, -1, "char[]",
-                                      new byte[] {InternalDataSerializer.NULL_ARRAY},
-                                      null), BYTE_ARRAY(false, -1, "byte[]",
-                                          new byte[] {InternalDataSerializer.NULL_ARRAY},
-                                          null), SHORT_ARRAY(false, -1, "short[]",
-                                              new byte[] {InternalDataSerializer.NULL_ARRAY},
-                                              null), INT_ARRAY(false, -1, "int[]",
-                                                  new byte[] {InternalDataSerializer.NULL_ARRAY},
-                                                  null), LONG_ARRAY(false, -1, "long[]",
-                                                      new byte[] {
-                                                          InternalDataSerializer.NULL_ARRAY},
-                                                      null), FLOAT_ARRAY(false, -1, "float[]",
-                                                          new byte[] {
-                                                              InternalDataSerializer.NULL_ARRAY},
-                                                          null), DOUBLE_ARRAY(false, -1, "double[]",
-                                                              new byte[] {
-                                                                  InternalDataSerializer.NULL_ARRAY},
-                                                              null), STRING_ARRAY(false, -1,
-                                                                  "String[]",
-                                                                  new byte[] {
-                                                                      InternalDataSerializer.NULL_ARRAY},
-                                                                  null), OBJECT_ARRAY(false, -1,
-                                                                      "Object[]",
-                                                                      new byte[] {
-                                                                          InternalDataSerializer.NULL_ARRAY},
-                                                                      null), ARRAY_OF_BYTE_ARRAYS(
-                                                                          false, -1, "byte[][]",
-                                                                          new byte[] {
-                                                                              InternalDataSerializer.NULL_ARRAY},
-                                                                          null);
+  BOOLEAN(true, DataSize.BOOLEAN_SIZE, "boolean", new byte[] {0}, false),
+  BYTE(true, DataSize.BYTE_SIZE, "byte", new byte[] {0}, 0),
+  CHAR(true, DataSize.CHAR_SIZE, "char", new byte[] {0, 0}, (char) 0),
+  SHORT(true, DataSize.SHORT_SIZE, "short", new byte[] {0, 0}, 0),
+  INT(true, DataSize.INTEGER_SIZE, "int", new byte[] {0, 0, 0, 0}, 0),
+  LONG(true, DataSize.LONG_SIZE, "long", new byte[] {0, 0, 0, 0, 0, 0, 0, 0}, 0),
+  FLOAT(true, DataSize.FLOAT_SIZE, "float", new byte[] {0, 0, 0, 0}, 0),
+  DOUBLE(true, DataSize.DOUBLE_SIZE, "double", new byte[] {0, 0, 0, 0, 0, 0, 0, 0}, 0),
+  DATE(true, DataSize.DATE_SIZE, "Date", new byte[] {-1, -1, -1, -1, -1, -1, -1, -1}, null),
+  STRING(false, -1, "String", new byte[] {DSCODE.NULL_STRING}, null),
+  OBJECT(false, -1, "Object", new byte[] {DSCODE.NULL}, null),
+  BOOLEAN_ARRAY(false, -1, "boolean[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  CHAR_ARRAY(false, -1, "char[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  BYTE_ARRAY(false, -1, "byte[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  SHORT_ARRAY(false, -1, "short[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  INT_ARRAY(false, -1, "int[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  LONG_ARRAY(false, -1, "long[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  FLOAT_ARRAY(false, -1, "float[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  DOUBLE_ARRAY(false, -1, "double[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  STRING_ARRAY(false, -1, "String[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  OBJECT_ARRAY(false, -1, "Object[]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null),
+  ARRAY_OF_BYTE_ARRAYS(false, -1, "byte[][]", new byte[] {InternalDataSerializer.NULL_ARRAY}, null);
 
   private final boolean isFixedWidth;
   /**

http://git-wip-us.apache.org/repos/asf/geode/blob/2df3063f/geode-core/src/test/java/org/apache/geode/cache/snapshot/RegionGenerator.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/cache/snapshot/RegionGenerator.java b/geode-core/src/test/java/org/apache/geode/cache/snapshot/RegionGenerator.java
index a6faf12..6b6169f 100644
--- a/geode-core/src/test/java/org/apache/geode/cache/snapshot/RegionGenerator.java
+++ b/geode-core/src/test/java/org/apache/geode/cache/snapshot/RegionGenerator.java
@@ -30,7 +30,12 @@ import org.apache.geode.cache.RegionShortcut;
 
 public class RegionGenerator {
   public enum RegionType {
-    REPLICATE, REPLICATE_PERSISTENT, REPLICATE_PERSISTENT_OVERFLOW, PARTITION, PARTITION_PERSISTENT, PARTITION_PERSISTENT_OVERFLOW;
+    REPLICATE,
+    REPLICATE_PERSISTENT,
+    REPLICATE_PERSISTENT_OVERFLOW,
+    PARTITION,
+    PARTITION_PERSISTENT,
+    PARTITION_PERSISTENT_OVERFLOW;
 
     public static RegionType[] persistentValues() {
       return new RegionType[] {REPLICATE_PERSISTENT, REPLICATE_PERSISTENT_OVERFLOW,


Mime
View raw message