[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/brooklyn-server/pull/982 ---

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214705115 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214704867 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214703069 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214702501 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/guava/Maybe.java --- @@ -501,6 +501,6 @@ public boolean equals(Object obj) {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214702367 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/guava/Maybe.java --- @@ -365,7 +365,7 @@ public RuntimeException getException() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread ahgittin
Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214700788 --- Diff: core/src/main/java/org/apache/brooklyn/util/core/flags/MethodCoercions.java --- @@ -87,13 +89,23 @@ public boolean apply(@Nullable

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214612451 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214640708 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214615588 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/guava/Maybe.java --- @@ -365,7 +365,7 @@ public RuntimeException getException() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214611925 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/text/StringEscapes.java --- @@ -315,12 +320,121 @@ else if (c=='\"') {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214640867 --- Diff: utils/common/src/test/java/org/apache/brooklyn/util/text/StringEscapesTest.java --- @@ -115,4 +117,80 @@ public void testJavaLists() {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214612997 --- Diff: core/src/main/java/org/apache/brooklyn/util/core/flags/MethodCoercions.java --- @@ -87,13 +89,23 @@ public boolean apply(@Nullable

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214610344 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/text/StringEscapes.java --- @@ -315,12 +320,121 @@ else if (c=='\"') {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214619292 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/guava/Maybe.java --- @@ -501,6 +501,6 @@ public boolean equals(Object obj) {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214642777 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/text/StringEscapes.java --- @@ -315,12 +320,121 @@ else if (c=='\"') {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214607884 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/text/StringEscapes.java --- @@ -315,12 +320,121 @@ else if (c=='\"') {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214554995 --- Diff: core/src/main/java/org/apache/brooklyn/core/config/ConfigConstraints.java --- @@ -149,19 +153,28 @@ public ConfigConstraints(T

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214608331 --- Diff: utils/common/src/main/java/org/apache/brooklyn/util/text/StringEscapes.java --- @@ -315,12 +320,121 @@ else if (c=='\"') {

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-09-03 Thread aledsage
Github user aledsage commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/982#discussion_r214606998 --- Diff: core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java --- @@ -251,9 +255,23 @@ public ResolverBuilderPretype(Object

[GitHub] brooklyn-server pull request #982: Improve coercions esp with generics

2018-08-31 Thread ahgittin
GitHub user ahgittin opened a pull request: https://github.com/apache/brooklyn-server/pull/982 Improve coercions esp with generics previously when we coerced or resolved values even with config keys, we did not reliably obey generics. now we do. preserves previous behaviour