You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ge...@apache.org on 2004/11/09 21:51:51 UTC
svn commit: rev 57099 - struts/trunk/src/share/org/apache/struts/plugins
Author: germuska
Date: Tue Nov 9 12:51:50 2004
New Revision: 57099
Modified:
struts/trunk/src/share/org/apache/struts/plugins/DigestingPlugIn.java
Log:
Fix getConfigURL method to use source method passed in
instead of configSource instance property. Fixes bug #32123.
Thanks to takes at on.rim.or.jp for reporting.
Modified: struts/trunk/src/share/org/apache/struts/plugins/DigestingPlugIn.java
==============================================================================
--- struts/trunk/src/share/org/apache/struts/plugins/DigestingPlugIn.java (original)
+++ struts/trunk/src/share/org/apache/struts/plugins/DigestingPlugIn.java Tue Nov 9 12:51:50 2004
@@ -270,15 +270,15 @@
*/
protected URL getConfigURL(String path, String source) throws IOException {
- if (SOURCE_CLASSPATH.equals(this.configSource)) {
+ if (SOURCE_CLASSPATH.equals(source)) {
return this.getClassPathURL(path);
}
- if (SOURCE_FILE.equals(this.configSource)) {
+ if (SOURCE_FILE.equals(source)) {
return this.getFileURL(path);
}
- if (SOURCE_SERVLET.equals(this.configSource)) {
+ if (SOURCE_SERVLET.equals(source)) {
return this.getServletContextURL(path);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org