> +      return expectedCodes;
> +   }
> +
> +   /**
> +    * @return the pools for this HealthMonitor.
> +    */
> +   @Nullable
> +   public ImmutableList<PoolStatus> getPools() {
> +      return pools;
> +   }
> +
> +   /**
> +    * @return the administrative state for this HealthMonitor.
> +    */
> +   @Nullable
> +   public Boolean getAdminStateUp() {

I think <code>isXXX()</code> is only for <code>boolean</code> properties, 
<code>getXXX()</code> should be used for <code>Boolean</code>. This is because 
<code>getAdminStateUp()</code> can return 3 values: <code>null</code>, 
<code>Boolean.TRUE</code> or <code>Boolean.FALSE</code>.
http://download.oracle.com/otndocs/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/
http://blog.950buy.com/article/javabean-specification-on-a-few-you-should-know/

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/146/files#r17962110

Reply via email to