Skip to content

Commit 758a7d4

Browse files
committed
use the TestOnly annotation for getAuthors()
1 parent 148dcb2 commit 758a7d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
package org.opengrok.indexer.history;
2626

27-
import org.jetbrains.annotations.VisibleForTesting;
27+
import org.jetbrains.annotations.TestOnly;
2828
import org.opengrok.indexer.logger.LoggerFactory;
2929
import org.opengrok.indexer.util.Color;
3030
import org.opengrok.indexer.util.LazilyInstantiate;
@@ -92,7 +92,7 @@ public Set<String> getRevisions() {
9292
return ret;
9393
}
9494

95-
@VisibleForTesting
95+
@TestOnly
9696
Set<String> getAuthors() {
9797
Set<String> ret = new HashSet<>();
9898
for (Line ln : this.lines) {

0 commit comments

Comments
 (0)