mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-09-20 15:26:25 +08:00
Improved test coverage
This commit is contained in:
parent
2193b8b173
commit
cf7de59cd0
|
@ -113,19 +113,6 @@ public class AnnouncerExecutor {
|
|||
public Future<?> getFuture() {
|
||||
return future;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(final Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
final AnnouncerWithFuture that = (AnnouncerWithFuture) o;
|
||||
return Objects.equal(announcer, that.announcer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hashCode(announcer);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue