Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-16 13:54:43 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
85d7470a422b0d832f31dbc9a6dda7c857b891ac
85d7470a
1 parent
dd841b79
Javadoc + checkstyle warning fix.
Change-Id: I0e6cabb4bdc5a81f98107df69af9295efa60e676
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
core/store/dist/src/main/java/org/onlab/onos/store/common/impl/Timestamped.java
core/store/dist/src/main/java/org/onlab/onos/store/common/impl/Timestamped.java
View file @
85d7470
...
...
@@ -58,12 +58,12 @@ public final class Timestamped<T> {
}
/**
* Tests if this timestamp is newer tha
t
n the specified timestamp.
* @param
timestamp to compare agains
* Tests if this timestamp is newer than the specified timestamp.
* @param
other timestamp to compare against
* @return true if this instance is newer
*/
public
boolean
isNewer
(
Timestamp
timestamp
)
{
return
this
.
timestamp
.
compareTo
(
checkNotNull
(
timestamp
))
>
0
;
public
boolean
isNewer
(
Timestamp
other
)
{
return
this
.
timestamp
.
compareTo
(
checkNotNull
(
other
))
>
0
;
}
@Override
...
...
Please
register
or
login
to post a comment