Commits

Anonymous committed 12e3722

WW-1412
- ParamRemoverInterceptor is suffering from the getter/setter rpoblem as described in http://wiki.opensymphony.com/display/WW/Why+does+my+setter+not+get+called and http://cephas.net/blog/1007/01/04/ognl-getter-and-setter-type-must-match/

Removing the getParameterNames and getParamValues methods solves this issue

In summary, this is due to Ognl follows the JavaBean spec, and for a property to get recognized it needs to be consistent in its getter and setter

Thx Martin for letting us know about it. :-)

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1310e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/interceptor/ParameterRemoverInterceptor.java

 
 
 	/**
-	 * Return the csv <code>paramNames</code> as a <code>Set</code>.
-	 * 
-	 * @return the paramNames
-	 */
-	public Set getParamNames() {
-		return this.paramNames;
-	}
-
-	/**
 	 * Allows <code>paramNames</code> attribute to be set as comma-separated-values (csv).
 	 * 
 	 * @param paramNames the paramNames to set
 		this.paramNames = TextParseUtil.commaDelimitedStringToSet(paramNames);
 	}
 
-	/**
-	 * Return the csv <code>paramValues</code> as a <code>Set</code>.
-	 * 
-	 * @return the paramValues
-	 */
-	public Set getParamValues() {
-		return this.paramValues;
-	}
 
 	/**
 	 * Allows <code>paramValues</code> attribute to be set as a comma-separated-values (csv).
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.