You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2014/05/08 21:57:43 UTC
[09/11] git commit: Removes override which isn't used anymore
Removes override which isn't used anymore
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/7857b869
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/7857b869
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/7857b869
Branch: refs/heads/feature/exclude-object-class
Commit: 7857b869a05b12779e35bfe8751828dfbf328fff
Parents: 62ee6b1
Author: Lukasz Lenart <lu...@apache.org>
Authored: Mon May 5 21:33:44 2014 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Mon May 5 21:33:44 2014 +0200
----------------------------------------------------------------------
.../xwork2/interceptor/ParametersInterceptorTest.java | 14 --------------
1 file changed, 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/7857b869/xwork-core/src/test/java/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java
----------------------------------------------------------------------
diff --git a/xwork-core/src/test/java/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java b/xwork-core/src/test/java/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java
index 6ffb3ff..359618f 100644
--- a/xwork-core/src/test/java/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java
+++ b/xwork-core/src/test/java/com/opensymphony/xwork2/interceptor/ParametersInterceptorTest.java
@@ -187,10 +187,6 @@ public class ParametersInterceptorTest extends XWorkTestCase {
return result;
}
- @Override
- protected void initializeHardCodedExcludePatterns() {
- excludeParams = new HashSet<Pattern>();
- }
};
container.inject(pi);
@@ -307,11 +303,6 @@ public class ParametersInterceptorTest extends XWorkTestCase {
ParametersInterceptor pi = new ParametersInterceptor() {
@Override
- protected void initializeHardCodedExcludePatterns() {
- this.excludeParams = new HashSet<Pattern>();
- }
-
- @Override
protected boolean isExcluded(String paramName) {
boolean result = super.isExcluded(paramName);
excluded.put(paramName, result);
@@ -744,11 +735,6 @@ public class ParametersInterceptorTest extends XWorkTestCase {
assertEquals(expected, actual);
}
- public void testExcludedPatternsGetInitialized() throws Exception {
- ParametersInterceptor parametersInterceptor = new ParametersInterceptor();
- assertEquals(ExcludedPatterns.EXCLUDED_PATTERNS.length, parametersInterceptor.excludeParams.size());
- }
-
private ValueStack injectValueStack(Map<String, Object> actual) {
ValueStack stack = createStubValueStack(actual);
container.inject(stack);