You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Igor Urisman <ig...@gmail.com> on 2013/12/12 07:35:19 UTC

Minor grammar glitch in a Websocket exception message.

As seen in 8.0.0 RC5:

java.lang.IllegalStateException: javax.websocket.DeploymentException:
Multiple Endpoints may not be deployed to using the same path
[/conntestCloseEndpoint]

IMHO, the message can't make up its mind between "to the same path" and
"using the same path".

-Igor.

Re: Minor grammar glitch in a Websocket exception message.

Posted by Igor Urisman <ig...@gmail.com>.
Precisamente.


On Fri, Dec 13, 2013 at 3:11 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Mark,
>
> On 12/12/13, 4:43 PM, Mark Thomas wrote:
> > On 12/12/2013 06:35, Igor Urisman wrote:
> >> As seen in 8.0.0 RC5:
> >>
> >> java.lang.IllegalStateException:
> >> javax.websocket.DeploymentException: Multiple Endpoints may not
> >> be deployed to using the same path [/conntestCloseEndpoint]
> >>
> >> IMHO, the message can't make up its mind between "to the same
> >> path" and "using the same path".
> >
> > While I think the grammar of the original is technically OK
>
> Split infinitive? The original verb appears to be "to deployed"
> ("deployed-to") and used as if endpoints were deployed to something.
> Are they deployed /to/ a path, or /using/ a path? I'm guessing ...
> both. :)
>
> Perhaps the best phrasing is to say something like "Endpoint path
> [path] is already bound [other endpoint details?]".
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.15 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJSq5Q6AAoJEBzwKT+lPKRYL18P/A483rHy6sl7u1cmWkKgib/a
> f9JFddHLpKg+yzKegQ7bvJNmzEjjplGKqSGIV6EgKrsBEnezafEkVIp5uidc/5TH
> A0N+6go0N3O3GtnjjtrXivbVz+SMni09avXnz1T1RB6z0drN7JgYZ2SGfN+NDDIA
> /5eIpfinl4m/0cfZHfUVygy5U2liGLJ8a0bfrBLc1Oab4Tc0ZzzTcque/plnkjLu
> ICcGpWd6k6b1SdTpavLQXnz9aT/puVdvtmFPkMDMI7rSiUJbNJ+U15IPtPRwzmYC
> P8UM9jBYkf00yuxvSovGOEnC3FiUmOVULUlWgkV/5ipg0GldjpFBSblClQXQOhGT
> xsqcYfxW4LhqFCUMhVAeQHXmAw7c+/Pg/jEn6zh/NGIwQ6MfQiK7vEfZUKwg3YVj
> hIrPgJHXzPCenjV6lxdY9HD/xtt3azYdgEaw5w+K5cftn1LW2+X6/VhLyS51a97P
> NIWUv+zg+3Euy4eisfYDczMZdAr/gc4HsJioaboeC3EnatwC1qyGa1zCGyodg25R
> jR6l7tjiyDNpfbMmPTEF5ql/dOnCc378fbiBR2WngTLIa2I76VBkK1rpKcuvntSd
> NXst7kr1bW34y/jND3e7uzhZfPiZopPnmQ7biUX4AGQAg3FtoivRUNDVJqAqOXuh
> JX0SvUCE37b1XG4JWGRB
> =jLyk
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Minor grammar glitch in a Websocket exception message.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 12/12/13, 4:43 PM, Mark Thomas wrote:
> On 12/12/2013 06:35, Igor Urisman wrote:
>> As seen in 8.0.0 RC5:
>> 
>> java.lang.IllegalStateException:
>> javax.websocket.DeploymentException: Multiple Endpoints may not
>> be deployed to using the same path [/conntestCloseEndpoint]
>> 
>> IMHO, the message can't make up its mind between "to the same
>> path" and "using the same path".
> 
> While I think the grammar of the original is technically OK

Split infinitive? The original verb appears to be "to deployed"
("deployed-to") and used as if endpoints were deployed to something.
Are they deployed /to/ a path, or /using/ a path? I'm guessing ...
both. :)

Perhaps the best phrasing is to say something like "Endpoint path
[path] is already bound [other endpoint details?]".

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSq5Q6AAoJEBzwKT+lPKRYL18P/A483rHy6sl7u1cmWkKgib/a
f9JFddHLpKg+yzKegQ7bvJNmzEjjplGKqSGIV6EgKrsBEnezafEkVIp5uidc/5TH
A0N+6go0N3O3GtnjjtrXivbVz+SMni09avXnz1T1RB6z0drN7JgYZ2SGfN+NDDIA
/5eIpfinl4m/0cfZHfUVygy5U2liGLJ8a0bfrBLc1Oab4Tc0ZzzTcque/plnkjLu
ICcGpWd6k6b1SdTpavLQXnz9aT/puVdvtmFPkMDMI7rSiUJbNJ+U15IPtPRwzmYC
P8UM9jBYkf00yuxvSovGOEnC3FiUmOVULUlWgkV/5ipg0GldjpFBSblClQXQOhGT
xsqcYfxW4LhqFCUMhVAeQHXmAw7c+/Pg/jEn6zh/NGIwQ6MfQiK7vEfZUKwg3YVj
hIrPgJHXzPCenjV6lxdY9HD/xtt3azYdgEaw5w+K5cftn1LW2+X6/VhLyS51a97P
NIWUv+zg+3Euy4eisfYDczMZdAr/gc4HsJioaboeC3EnatwC1qyGa1zCGyodg25R
jR6l7tjiyDNpfbMmPTEF5ql/dOnCc378fbiBR2WngTLIa2I76VBkK1rpKcuvntSd
NXst7kr1bW34y/jND3e7uzhZfPiZopPnmQ7biUX4AGQAg3FtoivRUNDVJqAqOXuh
JX0SvUCE37b1XG4JWGRB
=jLyk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Minor grammar glitch in a Websocket exception message.

Posted by Mark Thomas <ma...@apache.org>.
On 12/12/2013 06:35, Igor Urisman wrote:
> As seen in 8.0.0 RC5:
> 
> java.lang.IllegalStateException: javax.websocket.DeploymentException:
> Multiple Endpoints may not be deployed to using the same path
> [/conntestCloseEndpoint]
> 
> IMHO, the message can't make up its mind between "to the same path" and
> "using the same path".

While I think the grammar of the original is technically OK, it could
certainly be better. I've fixed it in trunk and 7.0.x.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org