You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/07/07 09:18:43 UTC

[09/10] brooklyn-server git commit: make our `coercer` a `private static final` (code review)

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 <al...@cloudsoftcorp.com>
Authored: Thu Jul 7 10:17:25 2016 +0100
Committer: Alex Heneveld <al...@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();