Skip to content

Commit 5b2ffe0

Browse files
committed
improve javadoc
1 parent 67b58f3 commit 5b2ffe0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,11 @@ public String getHistoryDirs() {
526526
}
527527

528528
/**
529-
* Get the int value of the given request parameter.
529+
* Get the integer value of the given request parameter.
530530
*
531531
* @param name name of the parameter to lookup.
532532
* @param defaultValue value to return, if the parameter is not set, is not a number, or is < 0.
533-
* @return the parsed int value on success, the given default value otherwise.
533+
* @return the parsed integer value on success, the given default value otherwise.
534534
*/
535535
public int getIntParam(String name, int defaultValue) {
536536
int ret = defaultValue;
@@ -552,8 +552,7 @@ public int getIntParam(String name, int defaultValue) {
552552
* Get the <b>start</b> index for a search result or history listing to return by looking up
553553
* the {@code start} request parameter.
554554
*
555-
* @return 0 if the corresponding start parameter is not set or not a
556-
* number, the number found otherwise.
555+
* @return 0 if the corresponding start parameter is not set or not a number, the number found otherwise.
557556
*/
558557
public int getStartIndex() {
559558
return getIntParam(QueryParameters.START_PARAM, 0);

0 commit comments

Comments
 (0)