Use auto boxing and unboxing where feasible
See gh-31916
This commit is contained in:
committed by
Stéphane Nicoll
parent
4a450c6fab
commit
db2c532c07
@@ -581,7 +581,7 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
|
||||
*/
|
||||
@Override
|
||||
public boolean isLazyInit() {
|
||||
return (this.lazyInit != null && this.lazyInit.booleanValue());
|
||||
return (this.lazyInit != null && this.lazyInit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -59,7 +59,7 @@ public class BeanDefinitionDefaults {
|
||||
* @return whether to apply lazy-init semantics ({@code false} by default)
|
||||
*/
|
||||
public boolean isLazyInit() {
|
||||
return (this.lazyInit != null && this.lazyInit.booleanValue());
|
||||
return (this.lazyInit != null && this.lazyInit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user