Liran Zelkha has posted comments on this change.
Change subject: core: WIP: Adding JPA to ovirt
......................................................................
Patch Set 1:
(1 comment)
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDSGroup.java
Line 39: @Size(min = 1, max =
BusinessEntitiesDefinitions.CLUSTER_NAME_SIZE, message =
"VALIDATION.VDS_GROUP.NAME.MAX",
Line 40: groups = {
Line 41: CreateEntity.class, UpdateEntity.class })
Line 42: @ValidI18NName(message = "VALIDATION.VDS_GROUP.NAME.INVALID",
groups = { CreateEntity.class, UpdateEntity.class })
Line 43: @Column(name = "name")
Force of habit - I prefer fields, especially since we already have annotations
on fields. Don't you think it makes it easier to understand when all
annotations are at the same place?
Line 44: private String name;
Line 45:
Line 46: @Size(max = BusinessEntitiesDefinitions.GENERAL_MAX_SIZE)
Line 47: @Column(name = "description")
--
To view, visit http://gerrit.ovirt.org/22806
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I3cd0bbf9f0913955cb3e1facfa9a4bdc1f1ab24d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[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