Allon Mureinik has uploaded a new change for review.

Change subject: core: Fix Guid's members modifiers
......................................................................

core: Fix Guid's members modifiers

Changed all of Guid's protected methods to be private for better
encapsulation.

Change-Id: I5a5397962976c9058e7ddda0a530136ff16b14b2
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/51/15751/1

diff --git 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
 
b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
index c4d2a3f..8fc5c2b 100644
--- 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
+++ 
b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
@@ -9,7 +9,7 @@
      */
     private static final long serialVersionUID = 27305745737022810L;
 
-    protected static final String EMPTY_GUID_VALUE = 
"00000000-0000-0000-0000-000000000000";
+    private static final String EMPTY_GUID_VALUE = 
"00000000-0000-0000-0000-000000000000";
     public static final Guid SYSTEM = new 
Guid("AAA00000-0000-0000-0000-123456789AAA");
     public static final Guid EVERYONE = new 
Guid("EEE00000-0000-0000-0000-123456789EEE");
     public final static Guid Empty = new Guid(EMPTY_GUID_VALUE);
@@ -19,7 +19,7 @@
     private static final byte[] KEEP_BYTE_ORDER_INDICES = { 0, 1, 2, 3,
             4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
 
-    protected UUID uuid;
+    private UUID uuid;
 
     /**
      * This constructor should never be used directly - use {@link #Empty} 
instead.


-- 
To view, visit http://gerrit.ovirt.org/15751
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a5397962976c9058e7ddda0a530136ff16b14b2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to