Arik Hadas has uploaded a new change for review.

Change subject: core: organize the list of command packages
......................................................................

core: organize the list of command packages

Minor cleanup in CommandsFactory: organize the list of command packages
such that it will be a bit more readable

Change-Id: I40ef6e6b35c53c43ee4b2baaace239eb9b38889b
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
1 file changed, 21 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/80/32380/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
index bd48fc0..3071b5a 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
@@ -29,23 +29,27 @@
     private static final String CTOR_NOT_FOUND_FOR_PARAMETERS =
             "Can't find constructor for type {0} with parameter types: {1}";
 
-    private static final String[] COMMAND_PACKAGES = new String[] { 
"org.ovirt.engine.core.bll",
-            "org.ovirt.engine.core.bll.aaa",
-            "org.ovirt.engine.core.bll.storage", 
"org.ovirt.engine.core.bll.lsm", "org.ovirt.engine.core.bll.gluster",
-            "org.ovirt.engine.core.bll.network",
-            "org.ovirt.engine.core.bll.network.dc",
-            "org.ovirt.engine.core.bll.network.cluster",
-            "org.ovirt.engine.core.bll.network.host",
-            "org.ovirt.engine.core.bll.network.vm",
-            "org.ovirt.engine.core.bll.network.template",
-            "org.ovirt.engine.core.bll.numa.host",
-            "org.ovirt.engine.core.bll.numa.vm",
-            "org.ovirt.engine.core.bll.provider",
-            "org.ovirt.engine.core.bll.provider.network",
-            "org.ovirt.engine.core.bll.qos",
-            "org.ovirt.engine.core.bll.scheduling.commands",
-            "org.ovirt.engine.core.bll.scheduling.queries",
-            "org.ovirt.engine.core.bll.profiles" };
+    private static final String[] COMMAND_PACKAGES = new String[] {
+        "org.ovirt.engine.core.bll",
+        "org.ovirt.engine.core.bll.aaa",
+        "org.ovirt.engine.core.bll.storage",
+        "org.ovirt.engine.core.bll.lsm",
+        "org.ovirt.engine.core.bll.gluster",
+        "org.ovirt.engine.core.bll.network",
+        "org.ovirt.engine.core.bll.network.dc",
+        "org.ovirt.engine.core.bll.network.cluster",
+        "org.ovirt.engine.core.bll.network.host",
+        "org.ovirt.engine.core.bll.network.vm",
+        "org.ovirt.engine.core.bll.network.template",
+        "org.ovirt.engine.core.bll.numa.host",
+        "org.ovirt.engine.core.bll.numa.vm",
+        "org.ovirt.engine.core.bll.provider",
+        "org.ovirt.engine.core.bll.provider.network",
+        "org.ovirt.engine.core.bll.qos",
+        "org.ovirt.engine.core.bll.scheduling.commands",
+        "org.ovirt.engine.core.bll.scheduling.queries",
+        "org.ovirt.engine.core.bll.profiles"
+        };
 
     private static ConcurrentMap<String, Class<CommandBase<? extends 
VdcActionParametersBase>>> commandsCache =
             new ConcurrentHashMap<String, Class<CommandBase<? extends 
VdcActionParametersBase>>>(VdcActionType.values().length);


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

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

Reply via email to