myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject svn commit: r1806692 - /myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java
Date Wed, 30 Aug 2017 12:55:59 GMT
Author: tandraschko
Date: Wed Aug 30 12:55:59 2017
New Revision: 1806692

URL: http://svn.apache.org/viewvc?rev=1806692&view=rev
Log:
MYFACES-3172 UIComponentBase.isIdValid(id) check could mention the offending value in exceptions

Modified:
    myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java

Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java?rev=1806692&r1=1806691&r2=1806692&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java
(original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/UIComponentBase.java
Wed Aug 30 12:55:59 2017
@@ -2460,7 +2460,7 @@ public abstract class UIComponentBase ex
             {
                 throw new IllegalArgumentException("Subsequent characters of component identifier
must be a letter, "
                                                    + "a digit, an underscore ('_'), or a
dash ('-')! "
-                                                   + "But component identifier contains \""
+                                                   + "But component identifier \"" + string
+ "\" contains \""
                                                    + c + "\"");
             }
         }



Mime
View raw message