Skip to content

Commit 42f57c3

Browse files
ahornaceVladimir Kotal
authored andcommitted
Simplify names in the suggester logs
1 parent 846c1e6 commit 42f57c3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

suggester/src/main/java/org/opengrok/suggest/Suggester.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,11 @@ public String getName() {
465465
public Path getPath() {
466466
return path;
467467
}
468+
469+
@Override
470+
public String toString() {
471+
return name;
472+
}
468473
}
469474

470475
/**
@@ -501,6 +506,12 @@ public String getName() {
501506
public IndexReader getReader() {
502507
return reader;
503508
}
509+
510+
@Override
511+
public String toString() {
512+
return name;
513+
}
514+
504515
}
505516

506517
}

0 commit comments

Comments
 (0)