Allon Mureinik has posted comments on this change.

Change subject: core: Make sure disk alias will never be null
......................................................................


Patch Set 4: Code-Review+1

(1 comment)

http://gerrit.ovirt.org/#/c/24269/4/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BaseDisk.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BaseDisk.java:

Line 40:     /**
Line 41:      * The alias name of the disk.
Line 42:      */
Line 43:     @Size(min = 0, max = 
BusinessEntitiesDefinitions.GENERAL_NAME_SIZE, groups = { CreateEntity.class })
Line 44:     @ValidI18NName(message = "VALIDATION.DISK.ALIAS.INVALID", groups = 
{ CreateEntity.class, UpdateEntity.class })
I'd also add a @NotNull validator here.
Line 45:     private String diskAlias = "";
Line 46: 
Line 47:     /**
Line 48:      * The description of the disk.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I110f40b121a0bff8117888399fd5b798a9f19c10
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <[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: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to