Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -100,9 +100,10 @@ public abstract class ScopedProxyUtils {
|
||||
/**
|
||||
* Specify if the {@code beanName} is the name of a bean that references the target
|
||||
* bean within a scoped proxy.
|
||||
* @since 4.1.4
|
||||
*/
|
||||
public static boolean isScopedTarget(String beanName) {
|
||||
return beanName.startsWith(TARGET_NAME_PREFIX);
|
||||
return (beanName != null && beanName.startsWith(TARGET_NAME_PREFIX));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user