Skip to content

Commit

Permalink
Added SuppressWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GUIpsp committed Aug 3, 2011
1 parent f4366af commit b400e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion net/GUIpsp/GuiBot/BasePlugin.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package net.GUIpsp.GuiBot;

@SuppressWarnings("unchecked")
public abstract class BasePlugin {

public abstract void main() throws Throwable;
Expand All @@ -23,6 +23,7 @@ public final void registerCmd(String cmd, Object toCall, Object that) {

}


public final void registerCmd(String cmd, Object toCall, Object that,
String help) {
Main.cmdmap.put(cmd, toCall);
Expand Down
3 changes: 1 addition & 2 deletions net/GUIpsp/GuiBot/Main.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package net.GUIpsp.GuiBot;

import java.io.*;

import java.net.*;
import java.util.*;
import org.jibble.pircbot.*;

@SuppressWarnings("rawtypes")
public class Main {
public static Map classmap = new HashMap();
public static Map cmdmap = new HashMap();
Expand Down

0 comments on commit b400e50

Please sign in to comment.