Skip to content

Commit 455d146

Browse files
committed
prettify style and comment
1 parent 94b68a3 commit 455d146

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/FileHistoryCache.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -655,15 +655,12 @@ public History get(File file, Repository repository, boolean withFiles)
655655
}
656656

657657
/**
658-
* Check if the cache is up to date for the specified file.
659658
* @param file the file to check
660-
* @param cachedFile the file which contains the cached history for
661-
* the file
662-
* @return {@code true} if the cache is up to date, {@code false} otherwise
659+
* @param cachedFile the file which contains the cached history for the file
660+
* @return {@code true} if the cache is up-to-date for the file, {@code false} otherwise
663661
*/
664662
private boolean isUpToDate(File file, File cachedFile) {
665-
return cachedFile != null && cachedFile.exists() &&
666-
file.lastModified() <= cachedFile.lastModified();
663+
return cachedFile != null && cachedFile.exists() && file.lastModified() <= cachedFile.lastModified();
667664
}
668665

669666
@Override

0 commit comments

Comments
 (0)