dev@javaserverfaces.java.net

[REVIEW] Minor Fix - Pass correct init parameter name when creating error message

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Tue, 02 Nov 2004 13:58:46 -0500

SECTION: Modified Files
------------------------------------
M src/com/sun/faces/config/ConfigureListener.java


SECTION: Diffs
------------------------------------
Index: src/com/sun/faces/config/ConfigureListener.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/config/ConfigureListener.java,v
retrieving revision 1.26
diff -u -r1.26 ConfigureListener.java
--- src/com/sun/faces/config/ConfigureListener.java 29 Oct 2004
00:56:38 -0000 1.26
+++ src/com/sun/faces/config/ConfigureListener.java 2 Nov 2004
18:57:37 -0000
@@ -1208,7 +1208,7 @@
                 if (log.isWarnEnabled()) {
                     log.warn(Util.getExceptionMessageString(
                         Util.INVALID_INIT_PARAM_ERROR_MESSAGE_ID,
- new Object[] { paramValue, "validateXml" }));
+ new Object[] { paramValue, paramName }));
                 }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net