Yair Zaslavsky has uploaded a new change for review.

Change subject: core, frontend: removal of VdcRole
......................................................................

core, frontend: removal of VdcRole

This class is not in use any more

Change-Id: I0b3cac746c2cc7a5a594f4b401cbe9d7f40da2fa
Signed-off-by: Yair Zaslavsky <yzasl...@redhat.com>
---
D 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdcRole.java
M 
frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
2 files changed, 0 insertions(+), 35 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/84/35184/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdcRole.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdcRole.java
deleted file mode 100644
index 49b1103..0000000
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdcRole.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.ovirt.engine.core.common.businessentities;
-
-import java.util.HashMap;
-
-//using VdcDAL.AdBroker;
-
-public enum VdcRole {
-    None(-1),
-    User(0),
-    Admin(1),
-    PowerUser(2);
-
-    private int intValue;
-    private static final HashMap<Integer, VdcRole> mappings = new 
HashMap<Integer, VdcRole>();
-
-    static {
-        for (VdcRole vdcRole : values()) {
-            mappings.put(vdcRole.getValue(), vdcRole);
-        }
-    }
-
-    private VdcRole(int value) {
-        intValue = value;
-    }
-
-    public int getValue() {
-        return intValue;
-    }
-
-    public static VdcRole forValue(int value) {
-        return mappings.get(value);
-    }
-}
diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
 
b/frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
index 0d9e3fa4..9112c39 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
@@ -255,8 +255,6 @@
                        dont, we need to include them explicitly: -->
                <include name="**/*_CustomFieldSerializer.java" />
 
-               <include name="common/businessentities/VdcRole.java" />
-
                <include name="common/businessentities/FenceActionType.java" />
                <include name="common/businessentities/CopyVolumeType.java" />
                <include name="common/businessentities/ConfigurationType.java" 
/>


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b3cac746c2cc7a5a594f4b401cbe9d7f40da2fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to