8274811: Remove superfluous use of boxing in java.base

Reviewed-by: lancea
This commit is contained in:
Andrey Turbanov 2022-01-19 10:59:40 +00:00
parent 44fe958c8a
commit 5af7f25814
4 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -605,7 +605,7 @@ public class LocaleResources {
}
}
private static final boolean TRACE_ON = Boolean.valueOf(
private static final boolean TRACE_ON = Boolean.parseBoolean(
GetPropertyAction.privilegedGetProperty("locale.resources.debug", "false"));
public static void trace(String format, Object... params) {