From ca863b833220455d89533382dc7dee24de9f5a19 Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Sat, 12 Jan 2013 15:05:50 +1100 Subject: Fix GM line endings --- .../events/GroupManagerEventHandler.java | 104 ++++++++++----------- 1 file changed, 52 insertions(+), 52 deletions(-) (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/events/GroupManagerEventHandler.java') 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 -- cgit v1.2.3