From f419c7f2b8f7cc59b39f3368e0bb83cb71d850fc Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Wed, 4 Jul 2012 10:00:16 +0300 Subject: [PATCH] Correct typos in AbstractCommunicationManager --- .../terminal/gwt/server/AbstractCommunicationManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java index d71ab7f892..996ada924d 100644 --- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java @@ -1232,7 +1232,7 @@ public abstract class AbstractCommunicationManager implements Serializable { if ("connector".equals(protocol)) { // Strip initial slash String resourceName = uri.getPath().substring(1); - return registerConnecctorResource(resourceName, context); + return registerConnectorResource(resourceName, context); } if (protocol != null || uri.getHost() != null) { @@ -1240,7 +1240,7 @@ public abstract class AbstractCommunicationManager implements Serializable { } // Bare path interpreted as connector resource - return registerConnecctorResource(resourceUri, context); + return registerConnectorResource(resourceUri, context); } catch (URISyntaxException e) { getLogger().log(Level.WARNING, "Could not parse resource url " + resourceUri, e); @@ -1248,7 +1248,7 @@ public abstract class AbstractCommunicationManager implements Serializable { } } - private String registerConnecctorResource(String name, Class context) { + private String registerConnectorResource(String name, Class context) { synchronized (connectorResourceContexts) { // Add to map of names accepted by serveConnectorResource if (connectorResourceContexts.containsKey(name)) { @@ -2427,7 +2427,7 @@ public abstract class AbstractCommunicationManager implements Serializable { // registered in the map if (context == null) { getLogger().warning( - "Connector resource request for unkown resource rejected: " + "Connector resource request for unknown resource rejected: " + resourceName); response.sendError(HttpServletResponse.SC_NOT_FOUND, resourceName); return; -- 2.39.5