Skip to content

Commit 5b754c9

Browse files
committed
improve javadoc
1 parent f96b76b commit 5b754c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexCheck.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ public static boolean isOkay(@NotNull Configuration configuration, IndexCheckMod
182182
}
183183

184184
/**
185+
* Perform specified check on given index directory. All exceptions except {@code IOException} are swallowed
186+
* and result in return value of 1.
185187
* @param indexPath directory with index
186188
* @return 0 on success, 1 on failure (index check failed)
187189
* @throws IOException on I/O error

0 commit comments

Comments
 (0)