diff options
author | Henri Sara <hesara@vaadin.com> | 2012-07-04 10:00:16 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-07-04 10:00:16 +0300 |
commit | f419c7f2b8f7cc59b39f3368e0bb83cb71d850fc (patch) | |
tree | 1689ac645c984523cb7e9354a19c2a8ac7e23998 | |
parent | 78161eacc21a6e4cf5dba6b60980021fd784f738 (diff) | |
download | vaadin-framework-f419c7f2b8f7cc59b39f3368e0bb83cb71d850fc.tar.gz vaadin-framework-f419c7f2b8f7cc59b39f3368e0bb83cb71d850fc.zip |
Correct typos in AbstractCommunicationManager
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java | 8 |
1 files 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; |