Author: ron.sigal(a)jboss.com
Date: 2010-08-30 22:46:16 -0400 (Mon, 30 Aug 2010)
New Revision: 6075
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/AttachmentsImpl.java
Log:
JBREM-1243: Switched return of true and false in removeAttachment().
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/AttachmentsImpl.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/AttachmentsImpl.java 2010-08-11
16:17:23 UTC (rev 6074)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/AttachmentsImpl.java 2010-08-31
02:46:16 UTC (rev 6075)
@@ -75,9 +75,9 @@
final Object old = map.get(key);
if (value == old || value != null && value.equals(old)) {
map.remove(key);
- return false;
+ return true;
}
- return true;
+ return false;
}
}