Skip to content

Commit f044bd7

Browse files
author
Vladimir Kotal
committed
add missing @throws to javadoc
1 parent 1a66dde commit f044bd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,9 +1665,10 @@ public static Definitions getDefinitions(File file) throws ParseException, IOExc
16651665
/**
16661666
* @param file File object of a file under source root
16671667
* @return Document object for the file or {@code null}
1668+
* @throws IOException on I/O error
1669+
* @throws ParseException on problem with building Query
16681670
*/
1669-
public static Document getDocument(File file)
1670-
throws IOException, ParseException {
1671+
public static Document getDocument(File file) throws IOException, ParseException {
16711672
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
16721673
String path;
16731674
try {

0 commit comments

Comments
 (0)