Skip to content

Commit 8b97a0b

Browse files
committed
JNI/JCE: fix Javadoc warnings about default constructors in WolfCryptUtil and Asn
1 parent c28179e commit 8b97a0b

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/main/java/com/wolfssl/provider/jce/WolfCryptUtil.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
*/
5555
public class WolfCryptUtil {
5656

57+
/** Default WolfCryptUtil constructor. */
58+
public WolfCryptUtil() {
59+
}
60+
5761
/**
5862
* Maximum size of the keystore buffer to mark. We try to set this
5963
* high enough to handle any large keystore. Although there is no
@@ -75,8 +79,7 @@ public class WolfCryptUtil {
7579
* @param msg message to be logged
7680
*/
7781
private static synchronized void log(String msg) {
78-
WolfCryptDebug.log(WolfCryptUtil.class, WolfCryptDebug.INFO,
79-
() -> msg);
82+
WolfCryptDebug.log(WolfCryptUtil.class, WolfCryptDebug.INFO, () -> msg);
8083
}
8184

8285
/**

src/main/java/com/wolfssl/wolfcrypt/Asn.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
*/
3131
public class Asn extends WolfObject {
3232

33+
/** Default Asn constructor. */
34+
public Asn() {
35+
}
36+
3337
/** Maximum encoded signature size */
3438
public static final int MAX_ENCODED_SIG_SIZE = 512;
3539

0 commit comments

Comments
 (0)