Skip to content

Commit

Permalink
BCJSSE: Make Logger instances final
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdettman committed Jan 29, 2019
1 parent 055b50a commit 473999e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class PropertyUtils
{
private static Logger LOG = Logger.getLogger(PropertyUtils.class.getName());
private static final Logger LOG = Logger.getLogger(PropertyUtils.class.getName());

static String getSecurityProperty(final String propertyName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class ProvKeyManagerFactorySpi
extends KeyManagerFactorySpi
{
private static Logger LOG = Logger.getLogger(ProvKeyManagerFactorySpi.class.getName());
private static final Logger LOG = Logger.getLogger(ProvKeyManagerFactorySpi.class.getName());

static KeyStoreConfig getDefaultKeyStore() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
class ProvSSLContextSpi
extends SSLContextSpi
{
private static Logger LOG = Logger.getLogger(ProvSSLContextSpi.class.getName());
private static final Logger LOG = Logger.getLogger(ProvSSLContextSpi.class.getName());

private static final String PROPERTY_CLIENT_PROTOCOLS = "jdk.tls.client.protocols";
private static final String PROPERTY_SERVER_PROTOCOLS = "jdk.tls.server.protocols";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class ProvSSLSessionContext
implements SSLSessionContext
{
private static Logger LOG = Logger.getLogger(ProvSSLSessionContext.class.getName());
private static final Logger LOG = Logger.getLogger(ProvSSLSessionContext.class.getName());

private static final int provSessionCacheSize = PropertyUtils
.getIntegerSystemProperty("javax.net.ssl.sessionCacheSize", 20480, 0, Integer.MAX_VALUE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ProvSSLSocketDirect
extends ProvSSLSocketBase
implements ProvTlsManager
{
private static Logger LOG = Logger.getLogger(ProvSSLSocketDirect.class.getName());
private static final Logger LOG = Logger.getLogger(ProvSSLSocketDirect.class.getName());

protected final AppDataInput appDataIn = new AppDataInput();
protected final AppDataOutput appDataOut = new AppDataOutput();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ProvSSLSocketWrap
extends ProvSSLSocketBase
implements ProvTlsManager
{
private static Logger LOG = Logger.getLogger(ProvSSLSocketWrap.class.getName());
private static final Logger LOG = Logger.getLogger(ProvSSLSocketWrap.class.getName());

private static Socket checkSocket(Socket s) throws SocketException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ProvTlsClient
extends DefaultTlsClient
implements ProvTlsPeer
{
private static Logger LOG = Logger.getLogger(ProvTlsClient.class.getName());
private static final Logger LOG = Logger.getLogger(ProvTlsClient.class.getName());

private static final boolean provEnableSNIExtension = PropertyUtils.getBooleanSystemProperty("jsse.enableSNIExtension", true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ProvTlsServer
extends DefaultTlsServer
implements ProvTlsPeer
{
private static Logger LOG = Logger.getLogger(ProvTlsServer.class.getName());
private static final Logger LOG = Logger.getLogger(ProvTlsServer.class.getName());

private static final int provEphemeralDHKeySize = PropertyUtils.getIntegerSystemProperty("jdk.tls.ephemeralDHKeySize", 2048, 1024, 8192);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class ProvTrustManagerFactorySpi
extends TrustManagerFactorySpi
{
private static Logger LOG = Logger.getLogger(ProvTrustManagerFactorySpi.class.getName());
private static final Logger LOG = Logger.getLogger(ProvTrustManagerFactorySpi.class.getName());

static KeyStore getDefaultTrustStore() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

abstract class SupportedGroups
{
private static Logger LOG = Logger.getLogger(SupportedGroups.class.getName());
private static final Logger LOG = Logger.getLogger(SupportedGroups.class.getName());

private static final String PROPERTY_NAMEDGROUPS = "jdk.tls.namedGroups";

Expand Down

0 comments on commit 473999e

Please sign in to comment.