Author: christian.bauer(a)jboss.com
Date: 2008-06-06 04:59:55 -0400 (Fri, 06 Jun 2008)
New Revision: 8333
Modified:
trunk/ui/src/main/java/org/jboss/seam/ui/validator/FormattedTextValidator.java
Log:
Minor
Modified: trunk/ui/src/main/java/org/jboss/seam/ui/validator/FormattedTextValidator.java
===================================================================
---
trunk/ui/src/main/java/org/jboss/seam/ui/validator/FormattedTextValidator.java 2008-06-06
07:42:35 UTC (rev 8332)
+++
trunk/ui/src/main/java/org/jboss/seam/ui/validator/FormattedTextValidator.java 2008-06-06
08:59:55 UTC (rev 8333)
@@ -132,7 +132,7 @@
*/
public String getNoViableAltErrorMessage(String originalMessage, String location) {
return location != null
- ? "Text parsing error at '..." + location.trim() +
"...'."
+ ? "Text parsing error at '..." + location.trim() +
"...'"
: "Text parsing error, " +
originalMessage.replace("\uFFFF",END_OF_TEXT);
}
@@ -145,7 +145,7 @@
*/
public String getMismatchedTokenErrorMessage(String originalMessage, String location)
{
return location != null
- ? "Text parsing error at '..." + location.trim() +
"...'."
+ ? "Text parsing error at '..." + location.trim() +
"...'"
: "Text parsing error, " +
originalMessage.replace("\uFFFF",END_OF_TEXT);
}
@@ -156,7 +156,7 @@
* @return a message that is thrown by this validator
*/
public String getSemanticErrorMessage(String originalMessage) {
- return "Text parsing error, " +
originalMessage.replace("\uFFFF",END_OF_TEXT) + ".";
+ return "Text parsing error, " +
originalMessage.replace("\uFFFF",END_OF_TEXT);
}
/**