| 3 | import java.util.ArrayList; |
| 4 | |
| 5 | public class TrinityModuleImpl { |
| 6 | public static void init() { |
| 7 | Log.trace("Hello, world!"); |
| 8 | } |
| 9 | |
| 10 | public static String help(String topic) { |
| 11 | return "Requested help for topic " + topic; |
| 12 | } |
| 13 | |
| 14 | public static ArrayList<TrinityModule.Message> admin(String cmd, String authorId) { |
| 15 | return new ArrayList(); |
| 16 | } |
| 17 | |
| 18 | public static ArrayList<TrinityModule.Message> onMsg(String content, String authorId, String authorName, String room) { |
| 19 | TrinityModule.Message msg = new TrinityModule.Message("Hello, " + authorId + "!", authorId); |
| 20 | ArrayList<TrinityModule.Message> list = new ArrayList(); |
| 21 | list.push(msg); |
| 22 | return list; |
| 23 | } |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected