brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [09/10] brooklyn-server git commit: make our `coercer` a `private static final` (code review)
Date Thu, 07 Jul 2016 09:18:43 GMT
make our `coercer` a `private static final` (code review)


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/89b89c52
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/89b89c52
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/89b89c52

Branch: refs/heads/master
Commit: 89b89c52e2157b85ccc535a291cb4682b0048f88
Parents: ecf3721
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Thu Jul 7 10:17:25 2016 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Thu Jul 7 10:17:47 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/89b89c52/core/src/main/java/org/apache/brooklyn/util/core/flags/TypeCoercions.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/brooklyn/util/core/flags/TypeCoercions.java b/core/src/main/java/org/apache/brooklyn/util/core/flags/TypeCoercions.java
index 3f64a4d..5eb9141 100644
--- a/core/src/main/java/org/apache/brooklyn/util/core/flags/TypeCoercions.java
+++ b/core/src/main/java/org/apache/brooklyn/util/core/flags/TypeCoercions.java
@@ -63,7 +63,7 @@ public class TypeCoercions {
     
     private TypeCoercions() {}
 
-    static TypeCoercerExtensible coercer;
+    private static final TypeCoercerExtensible coercer;
     static {
         coercer = TypeCoercerExtensible.newEmpty();
         BrooklynInitialization.initTypeCoercionStandardAdapters(); 


Mime
View raw message