cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [19/34] git commit: updated refs/heads/master to 7a57ce3
Date Mon, 15 Jun 2015 09:14:52 GMT
Fix findbugs warning in NetscalerResource.java Unnecessary boxing/unboxing of primitive value

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #426


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1494487f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1494487f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1494487f

Branch: refs/heads/master
Commit: 1494487f7216912cf980a419c59866f7af52744a
Parents: be474f9
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Sun Jun 14 17:15:06 2015 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Jun 15 12:09:41 2015 +0300

----------------------------------------------------------------------
 .../src/com/cloud/network/resource/NetscalerResource.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1494487f/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
index fd8a310..1039754 100644
--- a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
+++ b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
@@ -457,7 +457,7 @@ public class NetscalerResource implements ServerResource {
         try {
             IpAddressTO[] ips = cmd.getIpAddresses();
             for (IpAddressTO ip : ips) {
-                long guestVlanTag = Long.valueOf(ip.getBroadcastUri());
+                long guestVlanTag = Long.parseLong(ip.getBroadcastUri());
                 String vlanSelfIp = ip.getVlanGateway();
                 String vlanNetmask = ip.getVlanNetmask();
 


Mime
View raw message