mirror of https://github.com/apache/druid.git
make it work with Java 8
This commit is contained in:
parent
5a7d186e88
commit
fd7d3e5ace
|
@ -34,7 +34,7 @@ import javax.script.ScriptException;
|
|||
|
||||
public class JavaScriptTieredBrokerSelectorStrategy implements TieredBrokerSelectorStrategy
|
||||
{
|
||||
private static interface SelectorFunction
|
||||
public static interface SelectorFunction
|
||||
{
|
||||
public String apply(TieredBrokerConfig config, Query query);
|
||||
}
|
||||
|
|
|
@ -55,8 +55,6 @@ public class JavaScriptTieredBrokerSelectorStrategyTest
|
|||
@Test
|
||||
public void testGetBrokerServiceName() throws Exception
|
||||
{
|
||||
|
||||
|
||||
final LinkedHashMap<String, String> tierBrokerMap = new LinkedHashMap<>();
|
||||
tierBrokerMap.put("fast", "druid/fastBroker");
|
||||
tierBrokerMap.put("slow", "druid/broker");
|
||||
|
|
Loading…
Reference in New Issue