Alissa Bonas has posted comments on this change.
Change subject: engine: Deprecate new Guid()
......................................................................
Patch Set 2: (3 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AfterDeactivateSingleAsyncOperationFactory.java
Line 4: import org.ovirt.engine.core.utils.ISingleAsyncOperation;
Line 5:
Line 6: public class AfterDeactivateSingleAsyncOperationFactory extends
ActivateDeactivateSingleAsyncOperationFactory {
Line 7: private boolean _isLastMaster;
Line 8: private Guid _newMasterStorageDomainId = Guid.Empty;
Why the new Guid here has become Guid.empty? In some other places in code it
became Guid.newGuid().
Line 9:
Line 10: @Override
Line 11: public ISingleAsyncOperation createSingleAsyncOperation() {
Line 12: return new AfterDeactivateSingleAsyncOperation(getVdss(),
getStorageDomain(), getStoragePool(), _isLastMaster,
....................................................
File
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Guid.java
Line 22: protected UUID uuid;
Line 23:
Line 24: /**
Line 25: * This constructor should never be used directly - use {@link
#Empty} instead.
Line 26: * It is left here only becuase GWT requires it.
becuase --> because
Line 27: */
Line 28: @Deprecated
Line 29: private Guid() {
Line 30: this(Empty.getUuid());
Line 25: * This constructor should never be used directly - use {@link
#Empty} instead.
Line 26: * It is left here only becuase GWT requires it.
Line 27: */
Line 28: @Deprecated
Line 29: private Guid() {
does it work with private constructor in runtime? is webadmin working correctly
in web mode (not while debug)?
Line 30: this(Empty.getUuid());
Line 31: }
Line 32:
Line 33: public Guid(UUID uuid) {
--
To view, visit http://gerrit.ovirt.org/15698
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id80dc50896a9874731300f543a72838c345cbcdd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches