brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [1/2] git commit: Fix stack overflow error
Date Sat, 11 Oct 2014 12:55:11 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master a13d062cc -> 659db862b


Fix stack overflow error


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

Branch: refs/heads/master
Commit: 554c32f4b9b3a452e3569a7098d594f10c647436
Parents: c364331
Author: Matt Champion <mattunderscorechampion@gmail.com>
Authored: Fri Oct 10 11:12:11 2014 +0100
Committer: Matt Champion <mattunderscorechampion@gmail.com>
Committed: Fri Oct 10 13:01:08 2014 +0100

----------------------------------------------------------------------
 core/src/main/java/brooklyn/config/render/RendererHints.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/554c32f4/core/src/main/java/brooklyn/config/render/RendererHints.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/config/render/RendererHints.java b/core/src/main/java/brooklyn/config/render/RendererHints.java
index ea84b02..f7defc1 100644
--- a/core/src/main/java/brooklyn/config/render/RendererHints.java
+++ b/core/src/main/java/brooklyn/config/render/RendererHints.java
@@ -93,8 +93,8 @@ public class RendererHints {
     public static Set<Hint<?>> getHintsFor(Object element) { return getHintsFor(element,
null); }
 
     @Deprecated /** @deprecated since 0.7.0 only supported for certain types */
-    @SuppressWarnings("rawtypes")
-    public static Set<Hint<?>> getHintsFor(Object element, Class<? extends
Hint> optionalHintSuperClass) { return getHintsFor(element, optionalHintSuperClass); }
+    @SuppressWarnings({ "rawtypes", "unchecked" })
+    public static Set<Hint<?>> getHintsFor(Object element, Class<? extends
Hint> optionalHintSuperClass) { return (Set<Hint<?>>) _getHintsFor(element,
optionalHintSuperClass); }
     
     @SuppressWarnings({ "unchecked", "rawtypes" })
     private static <T extends Hint> Set<T> _getHintsFor(Object element, Class<T>
optionalHintSuperClass) {


Mime
View raw message