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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to