summaryrefslogtreecommitdiff
path: root/sources/events/VSAbstractEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/events/VSAbstractEvent.java')
-rw-r--r--sources/events/VSAbstractEvent.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/events/VSAbstractEvent.java b/sources/events/VSAbstractEvent.java
index 7f0a4e8..7adf535 100644
--- a/sources/events/VSAbstractEvent.java
+++ b/sources/events/VSAbstractEvent.java
@@ -60,22 +60,22 @@ abstract public class VSAbstractEvent extends VSPrefs {
* @param newProcess The new process
* @return The copy
*/
- final public VSAbstractEvent getCopy(VSProcess theProcess)
- throws VSEventNotCopyableException {
+ final public VSAbstractEvent getCopy(VSProcess theProcess)
+ throws VSEventNotCopyableException {
- if (theProcess == null)
- theProcess = process;
+ if (theProcess == null)
+ theProcess = process;
if (!(this instanceof VSCopyableEvent))
throw new VSEventNotCopyableException(
- eventShortname + " (" + eventClassname + ")");
+ eventShortname + " (" + eventClassname + ")");
VSAbstractEvent copy =
VSRegisteredEvents.createEventInstanceByClassname(
eventClassname, theProcess);
((VSCopyableEvent) this).initCopy(copy);
- copy.setShortname(eventShortname);
+ copy.setShortname(eventShortname);
return copy;
}