From 009350323123fc4b47041cb2194e8df19f69423b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 25 May 2008 09:03:33 +0000 Subject: Run astyle. --- sources/events/VSEvent.java | 30 +++++++-------- sources/events/VSRegisteredEvents.java | 44 +++++++++++----------- .../events/implementations/ProcessCrashEvent.java | 2 +- .../implementations/ProcessRecoverEvent.java | 2 +- sources/events/internal/MessageReceiveEvent.java | 4 +- sources/events/internal/ProtocolEvent.java | 16 ++++---- 6 files changed, 49 insertions(+), 49 deletions(-) (limited to 'sources/events') diff --git a/sources/events/VSEvent.java b/sources/events/VSEvent.java index c5cb5df..ddf77ca 100644 --- a/sources/events/VSEvent.java +++ b/sources/events/VSEvent.java @@ -12,22 +12,22 @@ import prefs.VSPrefs; * The Class VSEvent. */ abstract public class VSEvent extends VSPrefs { - + /** The prefs. */ protected VSPrefs prefs; - + /** The process. */ protected VSProcess process; - + /** The event shortname. */ private String eventShortname; - + /** The event classname. */ private String eventClassname; /** * Inits the. - * + * * @param process the process */ public void init(VSProcess process) { @@ -39,7 +39,7 @@ abstract public class VSEvent extends VSPrefs { /** * Sets the classname. - * + * * @param eventClassname the new classname */ protected final void setClassname(String eventClassname) { @@ -51,7 +51,7 @@ abstract public class VSEvent extends VSPrefs { /** * Gets the classname. - * + * * @return the classname */ public String getClassname() { @@ -60,7 +60,7 @@ abstract public class VSEvent extends VSPrefs { /** * Gets the name. - * + * * @return the name */ public String getName() { @@ -69,7 +69,7 @@ abstract public class VSEvent extends VSPrefs { /** * Sets the shortname. - * + * * @param eventShortname the new shortname */ public void setShortname(String eventShortname) { @@ -78,7 +78,7 @@ abstract public class VSEvent extends VSPrefs { /** * Gets the shortname. - * + * * @return the shortname */ public String getShortname() { @@ -90,7 +90,7 @@ abstract public class VSEvent extends VSPrefs { /** * Gets the process. - * + * * @return the process */ public VSProcess getProcess() { @@ -99,7 +99,7 @@ abstract public class VSEvent extends VSPrefs { /** * Logg. - * + * * @param message the message */ public void logg(String message) { @@ -108,9 +108,9 @@ abstract public class VSEvent extends VSPrefs { /** * Equals. - * + * * @param event the event - * + * * @return true, if successful */ public boolean equals(VSEvent event) { @@ -121,7 +121,7 @@ abstract public class VSEvent extends VSPrefs { * On init. */ abstract protected void onInit(); - + /** * On start. */ diff --git a/sources/events/VSRegisteredEvents.java b/sources/events/VSRegisteredEvents.java index d41ffea..b6565d1 100644 --- a/sources/events/VSRegisteredEvents.java +++ b/sources/events/VSRegisteredEvents.java @@ -15,25 +15,25 @@ import utils.*; * The Class VSRegisteredEvents. */ public final class VSRegisteredEvents { - + /** The event classnames. */ private static HashMap eventClassnames; - + /** The event shortnames. */ private static HashMap eventShortnames; - + /** The event names. */ private static HashMap eventNames; - + /** The editable protocols classnames. */ private static ArrayList editableProtocolsClassnames; - + /** The prefs. */ private static VSPrefs prefs; /** * Inits the. - * + * * @param prefs_ the prefs_ */ public static void init(VSPrefs prefs_) { @@ -67,7 +67,7 @@ public final class VSRegisteredEvents { /** * Gets the editable protocols classnames. - * + * * @return the editable protocols classnames */ public static ArrayList getEditableProtocolsClassnames() { @@ -76,7 +76,7 @@ public final class VSRegisteredEvents { /** * Gets the protocol names. - * + * * @return the protocol names */ public static Vector getProtocolNames() { @@ -94,7 +94,7 @@ public final class VSRegisteredEvents { /** * Gets the protocol classnames. - * + * * @return the protocol classnames */ public static Vector getProtocolClassnames() { @@ -112,7 +112,7 @@ public final class VSRegisteredEvents { /** * Gets the non protocol names. - * + * * @return the non protocol names */ public static Vector getNonProtocolNames() { @@ -130,7 +130,7 @@ public final class VSRegisteredEvents { /** * Gets the non protocol classnames. - * + * * @return the non protocol classnames */ public static Vector getNonProtocolClassnames() { @@ -148,9 +148,9 @@ public final class VSRegisteredEvents { /** * Gets the classname. - * + * * @param eventName the event name - * + * * @return the classname */ public static String getClassname(String eventName) { @@ -159,9 +159,9 @@ public final class VSRegisteredEvents { /** * Gets the name. - * + * * @param eventClassname the event classname - * + * * @return the name */ public static String getName(String eventClassname) { @@ -170,9 +170,9 @@ public final class VSRegisteredEvents { /** * Gets the shortname. - * + * * @param eventClassname the event classname - * + * * @return the shortname */ public static String getShortname(String eventClassname) { @@ -181,10 +181,10 @@ public final class VSRegisteredEvents { /** * Creates the event instance by classname. - * + * * @param eventClassname the event classname * @param process the process - * + * * @return the vS event */ public static VSEvent createEventInstanceByClassname(String eventClassname, VSProcess process) { @@ -201,10 +201,10 @@ public final class VSRegisteredEvents { /** * Creates the event instance by name. - * + * * @param eventName the event name * @param process the process - * + * * @return the vS event */ public static VSEvent createEventInstanceByName(String eventName, VSProcess process) { @@ -213,7 +213,7 @@ public final class VSRegisteredEvents { /** * Register event. - * + * * @param eventClassname the event classname * @param eventName the event name * @param eventShortname the event shortname diff --git a/sources/events/implementations/ProcessCrashEvent.java b/sources/events/implementations/ProcessCrashEvent.java index e55d18a..bb5c522 100644 --- a/sources/events/implementations/ProcessCrashEvent.java +++ b/sources/events/implementations/ProcessCrashEvent.java @@ -11,7 +11,7 @@ import events.VSEvent; * The Class ProcessCrashEvent. */ public class ProcessCrashEvent extends VSEvent { - + /* (non-Javadoc) * @see events.VSEvent#onInit() */ diff --git a/sources/events/implementations/ProcessRecoverEvent.java b/sources/events/implementations/ProcessRecoverEvent.java index cae67cb..d133127 100644 --- a/sources/events/implementations/ProcessRecoverEvent.java +++ b/sources/events/implementations/ProcessRecoverEvent.java @@ -11,7 +11,7 @@ import events.VSEvent; * The Class ProcessRecoverEvent. */ public class ProcessRecoverEvent extends VSEvent { - + /* (non-Javadoc) * @see events.VSEvent#onInit() */ diff --git a/sources/events/internal/MessageReceiveEvent.java b/sources/events/internal/MessageReceiveEvent.java index 0b4af83..f7d03ab 100644 --- a/sources/events/internal/MessageReceiveEvent.java +++ b/sources/events/internal/MessageReceiveEvent.java @@ -13,13 +13,13 @@ import protocols.VSProtocol; * The Class MessageReceiveEvent. */ public class MessageReceiveEvent extends VSEvent { - + /** The message. */ private VSMessage message; /** * Instantiates a new message receive event. - * + * * @param message the message */ public MessageReceiveEvent(VSMessage message) { diff --git a/sources/events/internal/ProtocolEvent.java b/sources/events/internal/ProtocolEvent.java index b29a828..b2c181e 100644 --- a/sources/events/internal/ProtocolEvent.java +++ b/sources/events/internal/ProtocolEvent.java @@ -12,13 +12,13 @@ import protocols.VSProtocol; * The Class ProtocolEvent. */ public class ProtocolEvent extends VSEvent { - + /** The protocol classname. */ private String protocolClassname; - + /** The is client protocol. */ private boolean isClientProtocol; /* true = client, false = server */ - + /** The is protocol activation. */ private boolean isProtocolActivation; /* true = activate, false = deactivate */ @@ -31,7 +31,7 @@ public class ProtocolEvent extends VSEvent { /** * Checks if is client protocol. - * + * * @param isClientProtocol the is client protocol */ public void isClientProtocol(boolean isClientProtocol) { @@ -40,7 +40,7 @@ public class ProtocolEvent extends VSEvent { /** * Checks if is client protocol. - * + * * @return true, if is client protocol */ public boolean isClientProtocol() { @@ -49,7 +49,7 @@ public class ProtocolEvent extends VSEvent { /** * Checks if is protocol activation. - * + * * @param isProtocolActivation the is protocol activation */ public void isProtocolActivation(boolean isProtocolActivation) { @@ -58,7 +58,7 @@ public class ProtocolEvent extends VSEvent { /** * Checks if is protocol activation. - * + * * @return true, if is protocol activation */ public boolean isProtocolActivation() { @@ -67,7 +67,7 @@ public class ProtocolEvent extends VSEvent { /** * Sets the protocol classname. - * + * * @param protocolClassname the new protocol classname */ public void setProtocolClassname(String protocolClassname) { -- cgit v1.2.3