This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new d312165 Fix typo d312165 is described below commit d312165d13445972b276ec5d696f249cbc1b2f58 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Dec 16 09:20:27 2021 +0000 Fix typo --- java/org/apache/tomcat/websocket/server/LocalStrings.properties | 2 +- java/org/apache/tomcat/websocket/server/UpgradeUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/websocket/server/LocalStrings.properties b/java/org/apache/tomcat/websocket/server/LocalStrings.properties index 3698b90..0b6dfb1 100644 --- a/java/org/apache/tomcat/websocket/server/LocalStrings.properties +++ b/java/org/apache/tomcat/websocket/server/LocalStrings.properties @@ -22,7 +22,7 @@ serverContainer.missingAnnotation=Cannot deploy POJO class [{0}] as it is not an serverContainer.servletContextMissing=No ServletContext was specified upgradeUtil.incompatibleRsv=Extensions were specified that have incompatible RSV bit usage -upgradeUtil.pojoMpaFail=Unable to complete method mapping for POJO class [{0}] +upgradeUtil.pojoMapFail=Unable to complete method mapping for POJO class [{0}] uriTemplate.duplicateParameter=The parameter [{0}] appears more than once in the path which is not permitted uriTemplate.emptySegment=The path [{0}] contains one or more empty segments which is not permitted diff --git a/java/org/apache/tomcat/websocket/server/UpgradeUtil.java b/java/org/apache/tomcat/websocket/server/UpgradeUtil.java index 5201a43..de6c352 100644 --- a/java/org/apache/tomcat/websocket/server/UpgradeUtil.java +++ b/java/org/apache/tomcat/websocket/server/UpgradeUtil.java @@ -215,7 +215,7 @@ public class UpgradeUtil { } } catch (DeploymentException e) { throw new ServletException( - sm.getString("upgradeUtil.pojoMpaFail", sec.getEndpointClass().getName()), e); + sm.getString("upgradeUtil.pojoMapFail", sec.getEndpointClass().getName()), e); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org