Yevgeny Zaspitsky has uploaded a new change for review.

Change subject: webadmin: Minor changes in HostSetupNetworksModel
......................................................................

webadmin: Minor changes in HostSetupNetworksModel

'private' prefix was removed from some of the class members.
A typo fix.

Change-Id: Ib40f48254e71c4a6acec3ae77e33c35ac3c0f658
Signed-off-by: Yevgeny Zaspitsky <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
1 file changed, 16 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/27636/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
index b742252..e9bc509 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
@@ -69,16 +69,16 @@
         return (VDS) super.getEntity();
     }
 
-    private EntityModel<Boolean> privateCheckConnectivity;
+    private EntityModel<Boolean> checkConnectivity;
 
     public EntityModel<Boolean> getCheckConnectivity()
     {
-        return privateCheckConnectivity;
+        return checkConnectivity;
     }
 
     private void setCheckConnectivity(EntityModel<Boolean> value)
     {
-        privateCheckConnectivity = value;
+        checkConnectivity = value;
     }
 
     private EntityModel<Integer> connectivityTimeout;
@@ -93,16 +93,16 @@
         connectivityTimeout = value;
     }
 
-    private EntityModel<Boolean> privateCommitChanges;
+    private EntityModel<Boolean> commitChanges;
 
     public EntityModel<Boolean> getCommitChanges()
     {
-        return privateCommitChanges;
+        return commitChanges;
     }
 
     public void setCommitChanges(EntityModel<Boolean> value)
     {
-        privateCommitChanges = value;
+        commitChanges = value;
     }
 
     private static final EventDefinition NICS_CHANGED_EVENT_DEFINITION = new 
EventDefinition("NicsChanged", //$NON-NLS-1$
@@ -113,11 +113,11 @@
     private static final EventDefinition OPERATION_CANDIDATE_EVENT_DEFINITION =
             new EventDefinition("OperationCandidate", 
NetworkOperationFactory.class); //$NON-NLS-1$
 
-    private Event privateOperationCandidateEvent;
+    private Event operationCandidateEvent;
 
-    private Event privateNicsChangedEvent;
+    private Event nicsChangedEvent;
 
-    private Event privateNetworksChangedEvent;
+    private Event networksChangedEvent;
 
     private List<VdsNetworkInterface> allNics;
 
@@ -220,7 +220,7 @@
             onOperation(candidate, candidate.getCommand(op1, op2, allNics));
         }
 
-        // raise the candidate event only if it was changed or if a drop 
occured
+        // raise the candidate event only if it was changed or if a drop 
occurred
         if (drop || !candidate.equals(currentCandidate) || !equals(op1, 
currentOp1) || !equals(op2, currentOp2)) {
             currentCandidate = candidate;
             currentOp1 = op1;
@@ -243,7 +243,7 @@
     }
 
     public Event getNetworksChangedEvent() {
-        return privateNetworksChangedEvent;
+        return networksChangedEvent;
     }
 
     public List<NetworkInterfaceModel> getNics() {
@@ -251,11 +251,11 @@
     }
 
     public Event getNicsChangedEvent() {
-        return privateNicsChangedEvent;
+        return nicsChangedEvent;
     }
 
     public Event getOperationCandidateEvent() {
-        return privateOperationCandidateEvent;
+        return operationCandidateEvent;
     }
 
     private Set<LogicalNetworkModel> computeLabelChanges(NicLabelModel 
labelsModel,
@@ -924,7 +924,7 @@
     }
 
     private void setNetworksChangedEvent(Event value) {
-        privateNetworksChangedEvent = value;
+        networksChangedEvent = value;
     }
 
     private void setNics(Map<String, NetworkInterfaceModel> nics) {
@@ -934,11 +934,11 @@
     }
 
     private void setNicsChangedEvent(Event value) {
-        privateNicsChangedEvent = value;
+        nicsChangedEvent = value;
     }
 
     private void setOperationCandidateEvent(Event event) {
-        privateOperationCandidateEvent = event;
+        operationCandidateEvent = event;
     }
 
     private void validate() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib40f48254e71c4a6acec3ae77e33c35ac3c0f658
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to