Skip to content

Commit 6bc7c6e

Browse files
committed
improve javadoc
1 parent e06a576 commit 6bc7c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-web/src/main/java/org/opengrok/web/DiffData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public String getRev(int index) {
9393

9494
/**
9595
* @param index index of the revision
96-
* @return shortened revision string (maximum 8 characters) with ".." appended
96+
* @return shortened revision string (maximum 8 characters) with {@code ".."} appended if longer
9797
*/
9898
public String getShortRev(int index) {
9999
return rev[index].substring(0, Integer.min(rev[index].length(), 8)) + (rev[index].length() > 8 ? ".." : "");

0 commit comments

Comments
 (0)