Moti Asayag has uploaded a new change for review.

Change subject: engine: Add diamond type declaration
......................................................................

engine: Add diamond type declaration

Change-Id: I3b756ac1f2163cd04d835382166c08c1ea8f943a
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ReorderVmNicsCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/38528/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ReorderVmNicsCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ReorderVmNicsCommand.java
index 946439f..94a41e6 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ReorderVmNicsCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ReorderVmNicsCommand.java
@@ -46,7 +46,7 @@
 
     private Map<Guid, VmDevice> getVmInterfaceDevices() {
         List<VmDevice> vmInterfaceDevicesList = 
getVmDeviceDao().getVmDeviceByVmIdAndType(getParameters().getVmId(), 
VmDeviceGeneralType.INTERFACE);
-        Map<Guid, VmDevice> vmInterfaceDevices = new HashMap();
+        Map<Guid, VmDevice> vmInterfaceDevices = new HashMap<>();
         for (VmDevice device : vmInterfaceDevicesList) {
             vmInterfaceDevices.put(device.getDeviceId(), device);
         }


-- 
To view, visit https://gerrit.ovirt.org/38528
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to