Gilad Chaplik has uploaded a new change for review.

Change subject: common: add missing 'override' annotations
......................................................................

common: add missing 'override' annotations

For VDS BE.

Change-Id: I3fc7e3ed07fb41887650abdcd733aa3e86530233
Signed-off-by: Gilad Chaplik <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/27808/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
index c2b4401..a39eda8 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
@@ -23,7 +23,7 @@
     private ArrayList<VdsNetworkInterface> mInterfaceList;
     private ArrayList<Network> mNetworkList;
     private String activeNic;
-
+ 
     /**
      * This map holds the disk usage reported by the host. The mapping is path 
to usage (in MB).
      */
@@ -97,6 +97,7 @@
                 && ObjectUtils.objectsEqual(vdsGroupGlusterService, 
other.vdsGroupGlusterService));
     }
 
+    @Override
     public VDS clone() {
         VDS vds = new VDS();
         vds.setVdsGroupId(getVdsGroupId());
@@ -316,10 +317,12 @@
         this.mVdsStatic.setHostName(value);
     }
 
+    @Override
     public String getComment() {
         return mVdsStatic.getComment();
     }
 
+    @Override
     public void setComment(String value) {
         mVdsStatic.setComment(value);
     }
@@ -1295,6 +1298,7 @@
         return maxSchedulingMemory;
     }
 
+    @Override
     public String toString() {
         // note that mVdsStatic may be null, so the getName with no null 
protection
         // is not enough, remove this once mVdsStatic can not be null


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

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

Reply via email to