jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] openstack console (#339)
Date Tue, 03 Jun 2014 13:10:20 GMT
> +      }
> +
> +      /**
> +       * Used from jclouds builtin deserializer.
> +       */
> +      public static Type fromValue(String type) {
> +          if (type != null) {
> +             for (Type value : Type.values()) {
> +                if (type.equals(value.type)) {
> +                   return value;
> +                }
> +             }
> +             return UNRECOGNIZED;
> +          }
> +          return null;
> +      }

> So any suggestions on the logger, or should I remove it?

Ah...eek...yes, good point. It's either the `Logger.getAnonymousLogger()` or none. Do we know
what `getAnonymousLogger()` does? Not great to have the logging not linked to a class, but
I'd rather get this warning from an anonymous logger than to ignore it ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r13332826
Mime
View raw message