To much C++ development, got confused about the scope of protected. In C++ this scope is the class and all sub-classes. Not the package. Thanks for refreshing my mind!
2016-01-31 16:14 GMT+01:00 Alexis Hassler <alexis.hass...@sewatech.fr>: > Hi Roel, > > Both classes are in the same package. That means that they're allowed to > access public+protected+package-private members. > > Alexis > > 2016-01-31 15:34 GMT+01:00 Roel Storms <roel.sto...@gmail.com>: > > > Hello Tomcat Devs, > > > > I am looking at CoyoteAdapter and Request classes in the trunk of > Tomcat8: > > > > > > > https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java > > > > > https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/Request.java > > > > In CoyoteAdapter I notice the usage of methods like > > B2CConverter getURIConverter(); > > void addPathParameter(String name, String value) > > String getPathParameter(String name); > > > > However in Request these methods are marked protected. What am I missing > > here? > > > > Kind regards, > > > > Roel Storms > > >