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;
Show replies by date