diff options
author | Chris Ward <chris@chrisgward.com> | 2013-01-12 15:05:50 +1100 |
---|---|---|
committer | Chris Ward <chris@chrisgward.com> | 2013-01-12 15:05:50 +1100 |
commit | ca863b833220455d89533382dc7dee24de9f5a19 (patch) | |
tree | 12bbcde7abbd278486735635d50017de8d848005 /EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java | |
parent | eb7cedd6fd5dae2353bdd47b2ce09942460fd8a6 (diff) | |
download | Essentials-ca863b833220455d89533382dc7dee24de9f5a19.tar Essentials-ca863b833220455d89533382dc7dee24de9f5a19.tar.gz Essentials-ca863b833220455d89533382dc7dee24de9f5a19.tar.lz Essentials-ca863b833220455d89533382dc7dee24de9f5a19.tar.xz Essentials-ca863b833220455d89533382dc7dee24de9f5a19.zip |
Fix GM line endings
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java index 5fc555cc4..43d42da53 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java @@ -1,53 +1,53 @@ -package org.anjocaido.groupmanager.events;
-
-import org.anjocaido.groupmanager.data.Group;
-import org.anjocaido.groupmanager.data.User;
-
-/**
- * @author ElgarL
- *
- * Handles all Event generation.
- *
- */
-public class GroupManagerEventHandler {
-
- protected static void callEvent(GMGroupEvent event) {
-
- event.schedule(event);
- }
-
- protected static void callEvent(GMUserEvent event) {
-
- event.schedule(event);
- }
-
- protected static void callEvent(GMSystemEvent event) {
-
- event.schedule(event);
- }
-
- public static void callEvent(Group group, GMGroupEvent.Action action) {
-
- callEvent(new GMGroupEvent(group, action));
- }
-
- public static void callEvent(String groupName, GMGroupEvent.Action action) {
-
- callEvent(new GMGroupEvent(groupName, action));
- }
-
- public static void callEvent(User user, GMUserEvent.Action action) {
-
- callEvent(new GMUserEvent(user, action));
- }
-
- public static void callEvent(String userName, GMUserEvent.Action action) {
-
- callEvent(new GMUserEvent(userName, action));
- }
-
- public static void callEvent(GMSystemEvent.Action action) {
-
- callEvent(new GMSystemEvent(action));
- }
+package org.anjocaido.groupmanager.events; + +import org.anjocaido.groupmanager.data.Group; +import org.anjocaido.groupmanager.data.User; + +/** + * @author ElgarL + * + * Handles all Event generation. + * + */ +public class GroupManagerEventHandler { + + protected static void callEvent(GMGroupEvent event) { + + event.schedule(event); + } + + protected static void callEvent(GMUserEvent event) { + + event.schedule(event); + } + + protected static void callEvent(GMSystemEvent event) { + + event.schedule(event); + } + + public static void callEvent(Group group, GMGroupEvent.Action action) { + + callEvent(new GMGroupEvent(group, action)); + } + + public static void callEvent(String groupName, GMGroupEvent.Action action) { + + callEvent(new GMGroupEvent(groupName, action)); + } + + public static void callEvent(User user, GMUserEvent.Action action) { + + callEvent(new GMUserEvent(user, action)); + } + + public static void callEvent(String userName, GMUserEvent.Action action) { + + callEvent(new GMUserEvent(userName, action)); + } + + public static void callEvent(GMSystemEvent.Action action) { + + callEvent(new GMSystemEvent(action)); + } }
\ No newline at end of file |