Author: markt
Date: Mon Apr 27 21:51:54 2015
New Revision: 1676385
URL: http://svn.apache.org/r1676385
Log:
Follow-up to r1676372
Slightly different set-up needed to unit test in 7.0.x
Modified:
tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java
Modified:
tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java?rev=1676385&r1=1676384&r2=1676385&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java
(original)
+++
tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java
Mon Apr 27 21:51:54 2015
@@ -151,7 +151,7 @@ public class TestRemoteIpFilter extends
public Context getContext() {
// Lazt init
if (super.getContext() == null) {
- getMappingData().context = new TesterContext();
+ super.setContext(new TesterContext());
}
return super.getContext();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]