brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [3/4] git commit: fix deplicate `RendererHint` application
Date Thu, 09 Oct 2014 12:34:21 GMT
fix deplicate `RendererHint` application


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

Branch: refs/heads/master
Commit: f04061aaaad8a1e862f35e71f486df59522fe8c2
Parents: ee0bd36
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Thu Oct 9 00:38:53 2014 -0500
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Thu Oct 9 00:38:53 2014 -0500

----------------------------------------------------------------------
 .../main/java/brooklyn/rest/resources/EntityConfigResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/f04061aa/usage/rest-server/src/main/java/brooklyn/rest/resources/EntityConfigResource.java
----------------------------------------------------------------------
diff --git a/usage/rest-server/src/main/java/brooklyn/rest/resources/EntityConfigResource.java
b/usage/rest-server/src/main/java/brooklyn/rest/resources/EntityConfigResource.java
index 5458f6f..d29b43e 100644
--- a/usage/rest-server/src/main/java/brooklyn/rest/resources/EntityConfigResource.java
+++ b/usage/rest-server/src/main/java/brooklyn/rest/resources/EntityConfigResource.java
@@ -72,7 +72,7 @@ public class EntityConfigResource extends AbstractBrooklynRestResource implement
         Map<ConfigKey<?>, Object> source = ((EntityInternal) entity).getAllConfig();
         Map<String, Object> result = Maps.newLinkedHashMap();
         for (Map.Entry<ConfigKey<?>, Object> ek : source.entrySet()) {
-            Object value = RendererHints.applyDisplayValueHint(ek.getKey(), ek.getValue());
+            Object value = ek.getValue();
             if (Boolean.FALSE.equals(raw)) {
                 value = RendererHints.applyDisplayValueHint(ek.getKey(), value);
             }


Mime
View raw message