> +import static com.google.common.base.Strings.isNullOrEmpty;
> +
> +import com.google.common.base.Objects;
> +
> +/**
> + * This class represents a range of bytes.
> + */
> +public final class ContentRange {
> +   private final long from;
> +   private final long to;
> +
> +   private ContentRange(long from, long to) {
> +      if (from > to)
> +         throw Builder.exception("\"from\" should be lower than \"to\"");
> +      if (from < 0 || to < 1)
> +         throw Builder.exception("\"from\" cannot be negative and \"to\" has 
> to be possitive");

spelling: positive

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/18/files#r13990182

Reply via email to