Lior Vernia has uploaded a new change for review.

Change subject: core: Changed QPID port type from int to Integer
......................................................................

core: Changed QPID port type from int to Integer

Previous implementation was NPE-prone due to the getter/setter
relating to the field as Integer, while it was actually defined as
int.

Change-Id: Iaadefc98dcd34a7158f1d93fa3ca5f60a26728f3
Signed-off-by: Lior Vernia <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OpenstackNetworkProviderProperties.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/17397/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OpenstackNetworkProviderProperties.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OpenstackNetworkProviderProperties.java
index ca4a161..c77aa81 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OpenstackNetworkProviderProperties.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/OpenstackNetworkProviderProperties.java
@@ -92,7 +92,7 @@
     public static class QpidConfiguration implements Serializable {
         private static final long serialVersionUID = -8072430559946539586L;
         private String address;
-        private int port;
+        private Integer port;
         private String username;
         private String password;
 


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

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

Reply via email to