You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/11/17 15:00:10 UTC

git commit: updated refs/heads/master to 7b9e4a8

Repository: cloudstack
Updated Branches:
  refs/heads/master bb1ab33bb -> 7b9e4a820


CID-1254842 use boxed constant instead of true

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

Branch: refs/heads/master
Commit: 7b9e4a820ba6a4672357bed60109a26628ac42e1
Parents: bb1ab33
Author: Daan Hoogland <da...@onecht.net>
Authored: Mon Nov 17 14:59:47 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Mon Nov 17 14:59:47 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b9e4a82/server/src/com/cloud/network/NetworkServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkServiceImpl.java b/server/src/com/cloud/network/NetworkServiceImpl.java
index 1b243d0..4f60c1a 100755
--- a/server/src/com/cloud/network/NetworkServiceImpl.java
+++ b/server/src/com/cloud/network/NetworkServiceImpl.java
@@ -1406,7 +1406,7 @@ public class NetworkServiceImpl extends ManagerBase implements  NetworkService {
                 params.put(ApiConstants.ENTITY_TYPE, Network.class);
                 params.put(ApiConstants.ENTITY_ID, network.getId());
                 params.put(ApiConstants.DOMAIN_ID, domainId);
-                params.put(ApiConstants.SUBDOMAIN_ACCESS, subdomainAccessFinal == null ? true : subdomainAccessFinal);
+                params.put(ApiConstants.SUBDOMAIN_ACCESS, subdomainAccessFinal == null ? Boolean.TRUE : subdomainAccessFinal);
                 _messageBus.publish(_name, EntityManager.MESSAGE_ADD_DOMAIN_WIDE_ENTITY_EVENT, PublishScope.LOCAL, params);
             }
             return network;