cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [06/22] git commit: updated refs/heads/master to 443acac
Date Fri, 14 Feb 2014 17:38:06 GMT
AJH Findbugs [9] - Added object to map rather than string

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>


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

Branch: refs/heads/master
Commit: b8c228e151616ec8ecf66beade27afdc674454fa
Parents: f414018
Author: Alex Hitchins <alex@alexhitchins.com>
Authored: Wed Feb 12 10:52:02 2014 +0000
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Fri Feb 14 18:37:45 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b8c228e1/server/src/com/cloud/network/NetworkModelImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkModelImpl.java b/server/src/com/cloud/network/NetworkModelImpl.java
index 52a08e1..9212a89 100755
--- a/server/src/com/cloud/network/NetworkModelImpl.java
+++ b/server/src/com/cloud/network/NetworkModelImpl.java
@@ -1019,7 +1019,7 @@ public class NetworkModelImpl extends ManagerBase implements NetworkModel
{
         for (NetworkOfferingServiceMapVO instance : map) {
             String service = instance.getService();
             Set<Provider> providers;
-            providers = serviceProviderMap.get(service);
+            providers = serviceProviderMap.get(Service.getService(service));
             if (providers == null) {
                 providers = new HashSet<Provider>();
             }


Mime
View raw message