Merge branch '6.1.x'
This commit is contained in:
@@ -65,7 +65,6 @@ public class LazyInitTargetSource extends AbstractBeanFactoryBasedTargetSource {
|
||||
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public synchronized Object getTarget() throws BeansException {
|
||||
if (this.target == null) {
|
||||
this.target = getBeanFactory().getBean(getTargetBeanName());
|
||||
|
||||
@@ -151,7 +151,7 @@ public abstract class AbstractFactoryBean<T>
|
||||
* @see #getEarlySingletonInterfaces()
|
||||
*/
|
||||
@Override
|
||||
@Nullable
|
||||
@SuppressWarnings("NullAway")
|
||||
public final T getObject() throws Exception {
|
||||
if (isSingleton()) {
|
||||
return (this.initialized ? this.singletonInstance : getEarlySingletonInstance());
|
||||
|
||||
@@ -1112,7 +1112,6 @@ public class MBeanExporter extends MBeanRegistrationSupport implements MBeanExpo
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Object getTarget() {
|
||||
try {
|
||||
return super.getTarget();
|
||||
|
||||
@@ -123,8 +123,6 @@ public class ExpressionException extends RuntimeException {
|
||||
* @see #getSimpleMessage()
|
||||
* @see java.lang.Throwable#getMessage()
|
||||
*/
|
||||
@Override
|
||||
@Nullable
|
||||
public String getMessage() {
|
||||
return toDetailedString();
|
||||
}
|
||||
@@ -133,7 +131,6 @@ public class ExpressionException extends RuntimeException {
|
||||
* Return a detailed description of this exception, including the expression
|
||||
* String and position (if available) as well as the actual exception message.
|
||||
*/
|
||||
@Nullable
|
||||
public String toDetailedString() {
|
||||
if (this.expressionString != null) {
|
||||
StringBuilder output = new StringBuilder();
|
||||
@@ -158,7 +155,7 @@ public class ExpressionException extends RuntimeException {
|
||||
* that caused the failure.
|
||||
* @since 4.0
|
||||
*/
|
||||
@Nullable
|
||||
@SuppressWarnings("NullAway")
|
||||
public String getSimpleMessage() {
|
||||
return super.getMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user