mirror of https://github.com/apache/druid.git
Remove close method on MSQWarningReportPublisher. (#17071)
It didn't do anything and also wasn't called.
This commit is contained in:
parent
4d8015578d
commit
9696f0b37c
|
@ -117,10 +117,4 @@ public class MSQWarningReportLimiterPublisher implements MSQWarningReportPublish
|
|||
}
|
||||
delegate.publishException(stageNumber, e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException
|
||||
{
|
||||
delegate.close();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,17 +19,11 @@
|
|||
|
||||
package org.apache.druid.msq.indexing.error;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Provides an interface for a worker to publish warnings to an external source.
|
||||
* For example, the worker uses this interface to send warnings to the controller.
|
||||
*/
|
||||
public interface MSQWarningReportPublisher extends Closeable
|
||||
public interface MSQWarningReportPublisher
|
||||
{
|
||||
void publishException(int stageNumber, Throwable e);
|
||||
|
||||
@Override
|
||||
void close() throws IOException;
|
||||
}
|
||||
|
|
|
@ -63,10 +63,4 @@ public class MSQWarningReportSimplePublisher implements MSQWarningReportPublishe
|
|||
throw new RuntimeException(e2);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue