Fis PR comment
@@ -76,17 +76,13 @@ public class InputManager {
public TableInputHandler getTableInputHandler(String tableId) {
TableInputHandler tableInputHandler = tableInputHandlerMap.get(tableId);
- if (tableInputHandler == null) {
synchronized (this) {
- tableInputHandler = tableInputHandlerMap.get(tableId);
if (tableInputHandler == null) {
return constructTableInputHandler(tableId);
}
return tableInputHandler;
}
}
- return tableInputHandler;
- }
public synchronized void connect() {
for (InputHandler inputHandler : inputHandlerMap.values()) {
