Skip to content

Commit da82b7d

Browse files
committed
Fix minor issues with Javadoc
1 parent 37b0ed4 commit da82b7d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

core/src/main/java/com/onelogin/saml2/http/HttpRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public HttpRequest(String requestURL) {
4646
* Creates a new HttpRequest.
4747
*
4848
* @param requestURL the request URL (up to but not including query parameters)
49-
* @param query string that is contained in the request URL after the path
49+
* @param queryString string that is contained in the request URL after the path
5050
*/
5151
public HttpRequest(String requestURL, String queryString) {
5252
this(requestURL, EMPTY_PARAMETERS, queryString);
@@ -70,7 +70,7 @@ public HttpRequest(String requestURL, Map<String, List<String>> parameters) {
7070
*
7171
* @param requestURL the request URL (up to but not including query parameters)
7272
* @param parameters the request query parameters
73-
* @param query string that is contained in the request URL after the path
73+
* @param queryString string that is contained in the request URL after the path
7474
* @throws NullPointerException if any of the parameters is null
7575
*/
7676
public HttpRequest(String requestURL, Map<String, List<String>> parameters, String queryString) {

core/src/test/java/com/onelogin/saml2/test/NaiveUrlEncoder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ private NaiveUrlEncoder () {
1111
/**
1212
* Encodes ALL characters in URL using %xx encoding.<br>
1313
* This differs from 'normal' url encoding.
14+
*
15+
* @param s string to be encoded
16+
* @return a string with the url-encoded values
17+
*
18+
* @throws UnsupportedEncodingException
1419
*/
1520
public static String encode (String s) throws UnsupportedEncodingException {
1621
StringBuilder buf = new StringBuilder();

0 commit comments

Comments
 (0)