This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 26d1b335e6f61ab8752c26977139d5599fee86a0 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Fri Nov 15 14:09:12 2019 +0700 [Refactoring] IdRange::includes is never used --- .../src/main/java/org/apache/james/imap/api/message/IdRange.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/protocols/imap/src/main/java/org/apache/james/imap/api/message/IdRange.java b/protocols/imap/src/main/java/org/apache/james/imap/api/message/IdRange.java index bae41e8..4dee168 100644 --- a/protocols/imap/src/main/java/org/apache/james/imap/api/message/IdRange.java +++ b/protocols/imap/src/main/java/org/apache/james/imap/api/message/IdRange.java @@ -78,14 +78,6 @@ public final class IdRange implements Iterable<Long>, Comparable<IdRange> { this.highVal = highVal; } - /** - * Return true if the {@link IdRange} includes the given value - * - */ - public boolean includes(long value) { - return lowVal <= value && value <= highVal; - } - @Override public int hashCode() { final int PRIME = 31; --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org