mirror of https://github.com/apache/druid.git
remove crazy handler code
This commit is contained in:
parent
fc34858e95
commit
72c355e8ae
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue