@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    AmazonS3URI that = (AmazonS3URI) o;

    if (isPathStyle != that.isPathStyle) return false;
    if (!uri.equals(that.uri)) return false;
    if (bucket != null ? !bucket.equals(that.bucket) : that.bucket != null) return false;
    if (key != null ? !key.equals(that.key) : that.key != null) return false;
    if (versionId != null ? !versionId.equals(that.versionId) : that.versionId != null) return false;
    return region != null ? region.equals(that.region) : that.region == null;
  }
Converts a hex character (0-9A-Fa-f) into its corresponding quad value.

@param c the hex character
@return the quad value
src/main/java/com/creactiviti/piper/taskhandler/s3/AmazonS3URI.java