You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2017/07/06 09:54:55 UTC

symmetry of get/set property in endpoint?

Hi guys,

is it intended org.apache.tomcat.util.net.AbstractEndpoint#setProperty and
its getter are not symmetric? getter uses only attributes whereas setter
uses a socket or this through reflection.

Asking cause setProperty(x, y) implies most likely getProperty(x) != y
which sounds weird

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>