You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/04/15 12:24:36 UTC
(commons-validator) branch master updated: No need to end exception messages with an exclamation!
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 2eab32b0 No need to end exception messages with an exclamation!
2eab32b0 is described below
commit 2eab32b031c92b892603dea2ef52e6a80e707352
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Apr 15 08:24:29 2026 -0400
No need to end exception messages with an exclamation!
---
src/test/java/org/apache/commons/validator/ExceptionTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/validator/ExceptionTest.java b/src/test/java/org/apache/commons/validator/ExceptionTest.java
index 61efcecf..660cf559 100644
--- a/src/test/java/org/apache/commons/validator/ExceptionTest.java
+++ b/src/test/java/org/apache/commons/validator/ExceptionTest.java
@@ -107,7 +107,7 @@ class ExceptionTest extends AbstractCommonTest {
// Get results of the validation which can throw ValidatorException
try {
validator.validate();
- // fail("RuntimeException should occur here!");
+ // fail("RuntimeException should occur here.");
} catch (final RuntimeException expected) {
fail("RuntimeExceptions should be treated as validation failures in Validator 1.x.");
// This will be true in Validator 2.0