From d2e78f98043aba4bfcae9957703b3fac044dade9 Mon Sep 17 00:00:00 2001 From: Sho SHIMIZU Date: Fri, 10 Apr 2015 14:27:39 -0700 Subject: [PATCH] Remove unnecessary modifiers to follow the convention Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d --- core/api/src/main/java/org/onosproject/store/Timestamp.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/api/src/main/java/org/onosproject/store/Timestamp.java b/core/api/src/main/java/org/onosproject/store/Timestamp.java index 44aed95370..1f15312df9 100644 --- a/core/api/src/main/java/org/onosproject/store/Timestamp.java +++ b/core/api/src/main/java/org/onosproject/store/Timestamp.java @@ -26,10 +26,10 @@ import static com.google.common.base.Preconditions.checkNotNull; public interface Timestamp extends Comparable { @Override - public abstract int hashCode(); + int hashCode(); @Override - public abstract boolean equals(Object obj); + boolean equals(Object obj); /** * Tests if this timestamp is newer than the specified timestamp. @@ -37,7 +37,7 @@ public interface Timestamp extends Comparable { * @param other timestamp to compare against * @return true if this instance is newer */ - public default boolean isNewerThan(Timestamp other) { + default boolean isNewerThan(Timestamp other) { return this.compareTo(checkNotNull(other)) > 0; } }