Skip to content

Commit 8cb19fa

Browse files
committed
SSLConfig_JKS.java: mark internal fields final
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent cff4645 commit 8cb19fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

jNut/src/main/java/org/networkupstools/jnut/SSLConfig_JKS.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* SSL configuration with added options specific for Java KeyStore (JKS/PKCS12).
1111
*/
1212
public class SSLConfig_JKS extends SSLConfig {
13-
private String trustStorePath;
14-
private String trustStorePassword;
15-
private String keyStorePath;
16-
private String keyStorePassword;
13+
private final String trustStorePath;
14+
private final String trustStorePassword;
15+
private final String keyStorePath;
16+
private final String keyStorePassword;
1717

1818
public SSLConfig_JKS(boolean forceSSL, boolean certVerify,
1919
String trustStorePath, String trustStorePassword,

0 commit comments

Comments
 (0)