Avoid unnecessary boxing where primitives can be used

Closes gh-23267
This commit is contained in:
Сергей Цыпанов
2019-07-10 16:51:18 +02:00
committed by Sam Brannen
parent 2909de8829
commit 1728bf17fc
17 changed files with 24 additions and 24 deletions
@@ -45,7 +45,7 @@ class ScopedProxyBeanDefinitionDecorator implements BeanDefinitionDecorator {
if (node instanceof Element) {
Element ele = (Element) node;
if (ele.hasAttribute(PROXY_TARGET_CLASS)) {
proxyTargetClass = Boolean.valueOf(ele.getAttribute(PROXY_TARGET_CLASS));
proxyTargetClass = Boolean.parseBoolean(ele.getAttribute(PROXY_TARGET_CLASS));
}
}