Committed by
Ray Milkey
Remove unnecessary modifiers to follow the convention
Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -26,10 +26,10 @@ import static com.google.common.base.Preconditions.checkNotNull; | ... | @@ -26,10 +26,10 @@ import static com.google.common.base.Preconditions.checkNotNull; |
26 | public interface Timestamp extends Comparable<Timestamp> { | 26 | public interface Timestamp extends Comparable<Timestamp> { |
27 | 27 | ||
28 | @Override | 28 | @Override |
29 | - public abstract int hashCode(); | 29 | + int hashCode(); |
30 | 30 | ||
31 | @Override | 31 | @Override |
32 | - public abstract boolean equals(Object obj); | 32 | + boolean equals(Object obj); |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Tests if this timestamp is newer than the specified timestamp. | 35 | * Tests if this timestamp is newer than the specified timestamp. |
... | @@ -37,7 +37,7 @@ public interface Timestamp extends Comparable<Timestamp> { | ... | @@ -37,7 +37,7 @@ public interface Timestamp extends Comparable<Timestamp> { |
37 | * @param other timestamp to compare against | 37 | * @param other timestamp to compare against |
38 | * @return true if this instance is newer | 38 | * @return true if this instance is newer |
39 | */ | 39 | */ |
40 | - public default boolean isNewerThan(Timestamp other) { | 40 | + default boolean isNewerThan(Timestamp other) { |
41 | return this.compareTo(checkNotNull(other)) > 0; | 41 | return this.compareTo(checkNotNull(other)) > 0; |
42 | } | 42 | } |
43 | } | 43 | } | ... | ... |
-
Please register or login to post a comment