git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2069 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-10-07 17:36:30 +00:00
parent d6fe401c43
commit 89e7caa35b
@@ -45,7 +45,8 @@ class MappingContextHolder {
* Is the source being mapped or has already been mapped?
*/
public static boolean contains(Object source) {
return getContext().contains(source);
Stack<Object> context = getContext();
return context != null ? context.contains(source) : false;
}
/**