]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove warning for shortcuts on disabled connector (#9369)
authorOlli Tietäväinen <ollit@vaadin.com>
Fri, 19 May 2017 10:17:42 +0000 (13:17 +0300)
committerHenri Sara <henri.sara@gmail.com>
Fri, 19 May 2017 10:17:42 +0000 (13:17 +0300)
Remove unnecessary warning on server log when using shortcut on disabled connector.

Fixes #6951

server/src/main/java/com/vaadin/event/ConnectorActionManager.java

index 8bed286d24a34b36d16af00cc23ea674378e328c..4596fc4ad9e3bd19fe50ed695797f09b78d22581 100644 (file)
@@ -20,7 +20,6 @@ import java.util.logging.Logger;
 import com.vaadin.event.Action.Container;
 import com.vaadin.server.ClientConnector;
 import com.vaadin.server.VariableOwner;
-import com.vaadin.server.communication.ServerRpcHandler;
 import com.vaadin.ui.Component;
 
 /**
@@ -72,8 +71,6 @@ public class ConnectorActionManager extends ActionManager {
     @Override
     public void handleAction(Action action, Object sender, Object target) {
         if (!connector.isConnectorEnabled()) {
-            getLogger().warning(ServerRpcHandler
-                    .getIgnoredDisabledError("action", connector));
             return;
         }