8251548: Remove unnecessary explicit initialization of volatile variables in security-libs code

Reviewed-by: mullan
This commit is contained in:
Sergey Tsypanov 2020-09-18 21:26:59 +00:00 committed by Weijun Wang
parent d35b117956
commit f55dd9d40e
8 changed files with 17 additions and 17 deletions

View file

@ -126,7 +126,7 @@ public final class Subject implements java.io.Serializable {
*
* @serial
*/
private volatile boolean readOnly = false;
private volatile boolean readOnly;
private static final int PRINCIPAL_SET = 1;
private static final int PUB_CREDENTIAL_SET = 2;