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] Prefer isEmpty() for collections (#488)
Date Fri, 15 Aug 2014 17:48:48 GMT
> @@ -35,9 +35,7 @@
>  
>     @Override
>     public ProfileInfo apply(Map<String, String> from) {
> -      if (from.size() == 0)
> -         return null;
> -      if (from.size() == 0)

Ha! Nice ;-)

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