brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grkvlt <>
Subject [GitHub] incubator-brooklyn pull request: Add type coercion for parameteriz...
Date Sat, 27 Sep 2014 00:40:07 GMT
Github user grkvlt commented on a diff in the pull request:
    --- Diff: software/webapp/src/main/java/brooklyn/entity/proxy/ ---
    @@ -19,64 +19,17 @@
     package brooklyn.entity.proxy;
    -import java.util.Map;
    -import java.util.concurrent.atomic.AtomicBoolean;
    -import org.slf4j.Logger;
    -import org.slf4j.LoggerFactory;
    -import brooklyn.util.collections.MutableMap;
    -import brooklyn.util.flags.TypeCoercions;
     public class ProxySslConfig implements Serializable {
         private static final long serialVersionUID = -2692754611458939617L;
    -    private static final Logger LOG = LoggerFactory.getLogger(ProxySslConfig.class);
    -    private static final AtomicBoolean initialized = new AtomicBoolean(false);
    -    /** Setup type coercion. */
    -    @SuppressWarnings("rawtypes")
    -    public static void init() {
    -        if (initialized.getAndSet(true)) return;
    -        TypeCoercions.registerAdapter(Map.class, ProxySslConfig.class, new Function<Map,
ProxySslConfig>() {
    --- End diff --
    No, I added it while trying to make some SSL applications work, so I'm going to change
that code when this is merged.

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