Remove unnecessary modifiers to follow the convention

Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d
This commit is contained in:
Sho SHIMIZU 2015-04-10 14:27:39 -07:00 committed by Ray Milkey
parent d493625192
commit d2e78f9804

View File

@ -26,10 +26,10 @@ import static com.google.common.base.Preconditions.checkNotNull;
public interface Timestamp extends Comparable<Timestamp> { public interface Timestamp extends Comparable<Timestamp> {
@Override @Override
public abstract int hashCode(); int hashCode();
@Override @Override
public abstract boolean equals(Object obj); boolean equals(Object obj);
/** /**
* Tests if this timestamp is newer than the specified timestamp. * Tests if this timestamp is newer than the specified timestamp.
@ -37,7 +37,7 @@ public interface Timestamp extends Comparable<Timestamp> {
* @param other timestamp to compare against * @param other timestamp to compare against
* @return true if this instance is newer * @return true if this instance is newer
*/ */
public default boolean isNewerThan(Timestamp other) { default boolean isNewerThan(Timestamp other) {
return this.compareTo(checkNotNull(other)) > 0; return this.compareTo(checkNotNull(other)) > 0;
} }
} }