Javadoc + checkstyle warning fix.
Change-Id: I0e6cabb4bdc5a81f98107df69af9295efa60e676
Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -58,12 +58,12 @@ public final class Timestamped<T> { | ... | @@ -58,12 +58,12 @@ public final class Timestamped<T> { |
58 | } | 58 | } |
59 | 59 | ||
60 | /** | 60 | /** |
61 | - * Tests if this timestamp is newer thatn the specified timestamp. | 61 | + * Tests if this timestamp is newer than the specified timestamp. |
62 | - * @param timestamp to compare agains | 62 | + * @param other timestamp to compare against |
63 | * @return true if this instance is newer | 63 | * @return true if this instance is newer |
64 | */ | 64 | */ |
65 | - public boolean isNewer(Timestamp timestamp) { | 65 | + public boolean isNewer(Timestamp other) { |
66 | - return this.timestamp.compareTo(checkNotNull(timestamp)) > 0; | 66 | + return this.timestamp.compareTo(checkNotNull(other)) > 0; |
67 | } | 67 | } |
68 | 68 | ||
69 | @Override | 69 | @Override | ... | ... |
-
Please register or login to post a comment