Skip to content

Commit 2c04b6f

Browse files
Release 1.6.0
2 parents 8cae686 + 7e8d47f commit 2c04b6f

38 files changed

+2146
-593
lines changed

build.xml

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/com/connectsdk/core/ImageInfo.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,23 @@ public void setHeight(int height) {
133133
this.height = height;
134134
}
135135

136+
@Override
137+
public boolean equals(Object o) {
138+
if (this == o) {
139+
return true;
140+
}
141+
if (o == null || getClass() != o.getClass()) {
142+
return false;
143+
}
144+
145+
ImageInfo imageInfo = (ImageInfo) o;
146+
147+
return (getUrl() != null ? getUrl().equals(imageInfo.getUrl()) : imageInfo.getUrl() == null);
148+
149+
}
150+
151+
@Override
152+
public int hashCode() {
153+
return getUrl() != null ? getUrl().hashCode() : 0;
154+
}
136155
}

0 commit comments

Comments
 (0)