diff options
| author | Paul Buetow <paul@buetow.org> | 2008-06-13 22:57:15 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-06-13 22:57:15 +0000 |
| commit | 053ecc68889e3b4ed1afd23ec12d6ff0aea593d4 (patch) | |
| tree | d62eadeb7c06712a7c4d8fad33bd35d09bfe79b2 /sources/events/internal/VSProtocolEvent.java | |
| parent | 12b26d3285b05ad3d7387280bd7e9ec016f818d8 (diff) | |
compiles again
Diffstat (limited to 'sources/events/internal/VSProtocolEvent.java')
| -rw-r--r-- | sources/events/internal/VSProtocolEvent.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sources/events/internal/VSProtocolEvent.java b/sources/events/internal/VSProtocolEvent.java index d0a12cc..1ccb700 100644 --- a/sources/events/internal/VSProtocolEvent.java +++ b/sources/events/internal/VSProtocolEvent.java @@ -38,7 +38,8 @@ import serialize.VSSerialize; * * @author Paul C. Buetow */ -public class VSProtocolEvent extends VSAbstractInternalEvent { +public class VSProtocolEvent extends VSAbstractInternalEvent + implements VSCopyableEvent { /** The serial version uid */ private static final long serialVersionUID = 1L; @@ -51,16 +52,15 @@ public class VSProtocolEvent extends VSAbstractInternalEvent { /** The event is a protocol activation if true. Else it is a deactivation */ private boolean isProtocolActivation; - /** - * Fills a copy of this event with its values - * - * @param copy The copy + /* (non-Javadoc) + * @see events.VSCopyableEvent#initCopy(events.VSAbstractEvent) */ - public void initCopy(VSProtocolEvent copy) { - copy.isClientProtocol(isClientProtocol); - copy.isProtocolActivation(isProtocolActivation); - copy.setProtocolClassname(protocolClassname); - } + public void initCopy(VSAbstractEvent copy) { + VSProtocolEvent protocolEventCopy = (VSProtocolEvent) copy; + protocolEventCopy.isClientProtocol(isClientProtocol); + protocolEventCopy.isProtocolActivation(isProtocolActivation); + protocolEventCopy.setProtocolClassname(protocolClassname); + } /* (non-Javadoc) * @see events.VSAbstractEvent#onInit() |
