Moti Asayag has posted comments on this change.

Change subject: core: Remove IP validation check from repetitive con (#852076)
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/validation/NoRepetitiveStaticIpInListConstraint.java
Line 18:         Collection<String> staticIps = new HashSet<String>();
Line 19:         for (VdsNetworkInterface networkInterface : value) {
Line 20:             String address = networkInterface.getAddress();
Line 21:             if (networkInterface.getBootProtocol() == 
NetworkBootProtocol.StaticIp
Line 22:                     && address != null && !address.isEmpty()) {
sadly we can't. It wasn't overridden by gwt. What we have is the depracated 
StringHelper
Line 23:                 if (staticIps.contains(networkInterface.getAddress())) 
{
Line 24:                     return false;
Line 25:                 } else {
Line 26:                     staticIps.add(networkInterface.getAddress());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iadc8e065d36c57f1a7c71fc373ce00748ff26b41
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Muli Salem <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to