Remove unnecessary modifiers to follow the convention
Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d
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 44aed95..1f15312 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 @@
public interface Timestamp extends Comparable<Timestamp> {
@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 @@
* @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;
}
}