Add marker and prefix to equals and toString

This commit is contained in:
Andrew Gaul 2016-01-11 19:18:14 -08:00
parent a12ce5a8b7
commit a90245afe5
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,7 @@ public class ListContainerOptions extends ListOptions implements Cloneable {
@Override @Override
public String toString() { public String toString() {
return "[dir=" + dir + ", recursive=" + recursive + ", detailed=" + detailed return "[dir=" + dir + ", recursive=" + recursive + ", detailed=" + detailed
+ ", prefix=" + prefix + ", marker=" + getMarker()
+ ", maxResults=" + getMaxResults() + "]"; + ", maxResults=" + getMaxResults() + "]";
} }
@ -311,6 +312,7 @@ public class ListContainerOptions extends ListOptions implements Cloneable {
return (detailed == other.detailed) && return (detailed == other.detailed) &&
recursive == other.recursive && recursive == other.recursive &&
Objects.equal(dir, other.dir) && Objects.equal(dir, other.dir) &&
Objects.equal(prefix, other.prefix) &&
Objects.equal(getMarker(), other.getMarker()) && Objects.equal(getMarker(), other.getMarker()) &&
Objects.equal(getMaxResults(), other.getMaxResults()); Objects.equal(getMaxResults(), other.getMaxResults());
} }