Author: schor Date: Tue Mar 25 19:18:36 2014 New Revision: 1581474 URL: http://svn.apache.org/r1581474 Log: no Jira - quiet a findbugs message about wrong equals impl
Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCreationUtils.java Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCreationUtils.java URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCreationUtils.java?rev=1581474&r1=1581473&r2=1581474&view=diff ============================================================================== --- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCreationUtils.java (original) +++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/CasCreationUtils.java Tue Mar 25 19:18:36 2014 @@ -1767,6 +1767,9 @@ public class CasCreationUtils { @Override public boolean equals(Object obj) { + if (null == obj) { + return false; + } MetaDataCacheKey k = (MetaDataCacheKey) obj; if (rmDataPath == null) { if (k.rmDataPath != null) {