bloritsch 01/12/17 10:50:13
Modified: src/scratchpad/org/apache/avalon/excalibur/event
QueueElement.java
Log:
remove attachObject() method from QueueElement
Revision Changes Path
1.3 +2 -6
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/event/QueueElement.java
Index: QueueElement.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/event/QueueElement.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- QueueElement.java 2001/12/17 18:43:40 1.2
+++ QueueElement.java 2001/12/17 18:50:13 1.3
@@ -35,12 +35,8 @@
long getType();
/**
- * Get a handle to an attached object.
+ * Get a handle to an attached object. The attachment is added via the
+ * constructor, to enforce a read-only contract.
*/
Object getAttachment();
-
- /**
- * Attach an object to the element.
- */
- void attach( Object attachment );
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>