[webbeans-commits] Webbeans SVN: r2255 - ri/trunk/impl/src/main/java/org/jboss/webbeans/context.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Sun Mar 29 15:35:50 EDT 2009
Author: peteroyle
Date: 2009-03-29 15:35:48 -0400 (Sun, 29 Mar 2009)
New Revision: 2255
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/context/DependentStorageRequest.java
Log:
keep it simple. previous change introduced unnecessary subtleties.
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/context/DependentStorageRequest.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/context/DependentStorageRequest.java 2009-03-29 18:58:00 UTC (rev 2254)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/context/DependentStorageRequest.java 2009-03-29 19:35:48 UTC (rev 2255)
@@ -76,7 +76,7 @@
@Override
public boolean equals(Object other)
{
- if (!(other instanceof DependentStorageRequest)) {
+ if (other == null) {
return false;
}
DependentStorageRequest otherRequest = (DependentStorageRequest) other;
More information about the weld-commits
mailing list