Michael Kublin has posted comments on this change.
Change subject: core: cleanup of StorageHelperDirector
......................................................................
Patch Set 4: (5 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageHelperDirector.java
Line 11: private static StorageHelperDirector _instance = new
StorageHelperDirector();
Replace to EnumMap
Line 24: try {
Remove using of EnumCompat.GetNames, these is a leftovers after C#
Line 29: "org.ovirt.engine.core.bll.storage",
Make a constant, private static final String
Line 31: "StorageHelper"));
Same here, const
Line 41: IStorageHelper currentHelper = (IStorageHelper)
((tempVar instanceof IStorageHelper) ? tempVar
no need for check , if ! (tempVar instanceof IStorageHelper) it is a bug, also
leftovers from C#, should be removed during clean up
--
To view, visit http://gerrit.ovirt.org/5180
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie667122156fce0c38312df7e08c22c599b59a900
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches