brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [1/2] incubator-brooklyn git commit: Expose BrooklynFeatureEnablement.setDefault
Date Fri, 08 Jan 2016 13:59:23 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 7bcb3920d -> d05815810


Expose BrooklynFeatureEnablement.setDefault


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/8b486f54
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/8b486f54
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/8b486f54

Branch: refs/heads/master
Commit: 8b486f54b3bcbed8e5507dfbc1a68b3c60340615
Parents: e300cf3
Author: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Authored: Fri Jan 8 12:01:11 2016 +0000
Committer: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Committed: Fri Jan 8 12:01:11 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/8b486f54/brooklyn-server/core/src/main/java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java
----------------------------------------------------------------------
diff --git a/brooklyn-server/core/src/main/java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java
b/brooklyn-server/core/src/main/java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java
index e2fe918..1fb4767 100644
--- a/brooklyn-server/core/src/main/java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java
+++ b/brooklyn-server/core/src/main/java/org/apache/brooklyn/core/BrooklynFeatureEnablement.java
@@ -186,7 +186,7 @@ public class BrooklynFeatureEnablement {
         }
     }
     
-    static void setDefault(String property, boolean val) {
+    public static void setDefault(String property, boolean val) {
         synchronized (MUTEX) {
             if (!FEATURE_ENABLEMENTS.containsKey(property)) {
                 String rawVal = System.getProperty(property);


Mime
View raw message