diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:02:22 -0500 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:02:22 -0500 |
commit | 8e54bf13b281d1299c3dc33f89940bd3a06d1a30 (patch) | |
tree | e3195164270d7c8e52fbd48ebd4e4623e1c07e09 /EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java | |
parent | 232052b7d24c14d0fa9089cbc8c16e6435779998 (diff) | |
download | Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.gz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.lz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.tar.xz Essentials-8e54bf13b281d1299c3dc33f89940bd3a06d1a30.zip |
Remove Transient :: Formatting Cleanup
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java index 43d42da53..ee09cbda7 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java @@ -3,50 +3,59 @@ package org.anjocaido.groupmanager.events; import org.anjocaido.groupmanager.data.Group; import org.anjocaido.groupmanager.data.User; + /** * @author ElgarL - * - * Handles all Event generation. - * + * + * Handles all Event generation. + * */ -public class GroupManagerEventHandler { - - protected static void callEvent(GMGroupEvent event) { +public class GroupManagerEventHandler +{ + protected static void callEvent(GMGroupEvent event) + { event.schedule(event); } - protected static void callEvent(GMUserEvent event) { + protected static void callEvent(GMUserEvent event) + { event.schedule(event); } - protected static void callEvent(GMSystemEvent event) { + protected static void callEvent(GMSystemEvent event) + { event.schedule(event); } - public static void callEvent(Group group, GMGroupEvent.Action action) { + public static void callEvent(Group group, GMGroupEvent.Action action) + { callEvent(new GMGroupEvent(group, action)); } - public static void callEvent(String groupName, GMGroupEvent.Action action) { + public static void callEvent(String groupName, GMGroupEvent.Action action) + { callEvent(new GMGroupEvent(groupName, action)); } - public static void callEvent(User user, GMUserEvent.Action action) { + public static void callEvent(User user, GMUserEvent.Action action) + { callEvent(new GMUserEvent(user, action)); } - public static void callEvent(String userName, GMUserEvent.Action action) { + public static void callEvent(String userName, GMUserEvent.Action action) + { callEvent(new GMUserEvent(userName, action)); } - public static void callEvent(GMSystemEvent.Action action) { + public static void callEvent(GMSystemEvent.Action action) + { callEvent(new GMSystemEvent(action)); } |