brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <>
Subject [GitHub] incubator-brooklyn pull request: fix and test better rest client
Date Thu, 28 May 2015 07:42:43 GMT
Github user neykov commented on a diff in the pull request:
    --- Diff: usage/rest-client/src/main/java/brooklyn/rest/client/ ---
    @@ -170,7 +169,7 @@ public AccessApi getAccessApi() {
             return proxy(AccessApi.class);
    -    @SuppressWarnings("unchecked")
    +    @SuppressWarnings({ "unchecked", "rawtypes" })
    --- End diff --
    Better use a wildcard in the cast, no need for any `@SuppressWarnings` then, i.e.
    ClientResponse<?> clientResponse = (ClientResponse<?>) response;
    Same for next method.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message