Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Add missing javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Eamonn Mansour <[email protected]>
  • Loading branch information
eamansour committed Aug 20, 2024
1 parent 10c76ec commit c7a0035
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public int getSingleInt(String queryParameterName, int defaultValue) throws Inte
}

/**
* @param queryParameterName
* @param queryParameterName the query parameter to retrieve the value of
* @param defaultValue Returned if there are no occurrances of the query parameter.
* @return the value of the given query parameter as a boolean
* @throws InternalServletException when there are multiple values of this query parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public String retrieveResults (RasQueryParameters queryParams) throws ServletExc
List<String> resultsList = getResultNames();

try {
if (queryParams.getSortValue() != null ) {
if (queryParams.getSortValue() !=null ){
if (!queryParams.isAscending("resultnames")) {
Collections.reverse(resultsList);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ private String retrieveResults(RasQueryParameters queryParams) throws InternalSe
/* Get list of Run Ids from the URL -
If a Run ID parameter list is present in the URL then only return that run / those runs
Do not filter as well */

List<String> runIds = queryParams.getRunIds();

// Default to sorting in descending order based on the "end time" of runs
Expand Down

0 comments on commit c7a0035

Please sign in to comment.