Skip to content

Commit 0e32a3a

Browse files
committed
add comment and annotation
1 parent 082c787 commit 0e32a3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,13 @@ History parse(File file, Repository repository) throws HistoryException {
210210
}
211211

212212
/**
213-
* Parse the given string.
213+
* Parse the given string. Used for testing.
214214
*
215215
* @param buffer The string to be parsed
216216
* @return The parsed history
217217
* @throws IOException if we fail to parse the buffer
218218
*/
219+
@VisibleForTesting
219220
History parse(String buffer) throws IOException {
220221
processStream(new ByteArrayInputStream(buffer.getBytes(StandardCharsets.UTF_8)));
221222
return history;

0 commit comments

Comments
 (0)