remove crazy handler code

This commit is contained in:
fjy 2014-11-10 13:58:23 -08:00
parent fc34858e95
commit 72c355e8ae
1 changed files with 1 additions and 15 deletions

View File

@ -173,20 +173,6 @@ public class IndexIO
} }
} }
public static boolean hasHandler()
{
return (IndexIO.handler != null);
}
public static void registerHandler(IndexIOHandler handler)
{
if (IndexIO.handler == null) {
IndexIO.handler = handler;
} else {
throw new ISE("Already have a handler[%s], cannot register another[%s]", IndexIO.handler, handler);
}
}
private static void init() private static void init()
{ {
if (handler == null) { if (handler == null) {