We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e06a576 commit 6bc7c6eCopy full SHA for 6bc7c6e
opengrok-web/src/main/java/org/opengrok/web/DiffData.java
@@ -93,7 +93,7 @@ public String getRev(int index) {
93
94
/**
95
* @param index index of the revision
96
- * @return shortened revision string (maximum 8 characters) with ".." appended
+ * @return shortened revision string (maximum 8 characters) with {@code ".."} appended if longer
97
*/
98
public String getShortRev(int index) {
99
return rev[index].substring(0, Integer.min(rev[index].length(), 8)) + (rev[index].length() > 8 ? ".." : "");
0 commit comments