> +      private final String osReferenceCode;
> +
> +      public HasSameOsReferenceCode(String osReferenceCode) {
> +         this.osReferenceCode = osReferenceCode;
> +      }
> +
> +      @Override
> +      public boolean apply(SoftwareDescription input) {
> +         return input.getReferenceCode().equals(osReferenceCode);
> +      }
> +   }
> +
> +   private class IsOperatingSystem implements Predicate<SoftwareDescription> 
> {
> +      @Override
> +      public boolean apply(SoftwareDescription softwareDescription) {
> +         return softwareDescription.getOperatingSystem() == 1;

Could you add a comment to describe what the value of `1` means here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/568/files#r18748156

Reply via email to