Skip to content

Commit 74b071c

Browse files
authored
Merge pull request #61 from yizshi/lint
fix lint issue cause maven job fail + add lint check into ci
2 parents 3e06b99 + 3740b4b commit 74b071c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

duo-client/src/main/java/com/duosecurity/client/Base64.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,8 @@ private static int decode4to3(byte[] source, int srcOffset,
10861086
* The Base64 encoded data
10871087
* @return decoded data
10881088
* @since 2.3.1
1089+
* @throws java.io.IOException
1090+
* If bogus characters exist in source data
10891091
*/
10901092
public static byte[] decode(byte[] source) throws java.io.IOException {
10911093
byte[] decoded = null;

duo-client/src/main/java/com/duosecurity/client/Http.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public class Http {
7373

7474
/**
7575
* @deprecated Use the HttpBuilder instead
76+
* @param inMethod The method for the http request
77+
* @param inHost The api host provided by Duo and found in the Duo admin panel
78+
* @param inUri The endpoint for the request
7679
*/
7780
public Http(String inMethod, String inHost, String inUri) {
7881
this(inMethod, inHost, inUri, DEFAULT_TIMEOUT_SECS);
@@ -209,7 +212,7 @@ public void signRequest(String ikey, String skey)
209212
*
210213
* @param ikey Integration key provided by Duo and found in the admin panel
211214
* @param skey Secret key provided by Duo and found in the admin panel
212-
* @param sigVersion The version of signature used
215+
* @param inSigVersion The version of signature used
213216
*
214217
* @throws UnsupportedEncodingException For unsupported encodings
215218
*/

0 commit comments

Comments
 (0)