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 2016/06/07 02:26:42 UTC

svn commit: r1747121 - in /commons/proper/validator/trunk/src: javascript/ test/java/org/apache/commons/validator/LocaleTest.java

Author: ggregory
Date: Tue Jun  7 02:26:42 2016
New Revision: 1747121

URL: http://svn.apache.org/viewvc?rev=1747121&view=rev
Log:
Update old school @exception with new school @throws.

Added:
    commons/proper/validator/trunk/src/javascript/
Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/LocaleTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/LocaleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/LocaleTest.java?rev=1747121&r1=1747120&r2=1747121&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/LocaleTest.java (original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/LocaleTest.java Tue Jun  7 02:26:42 2016
@@ -48,8 +48,8 @@ public class LocaleTest extends Abstract
     /**
      * Load <code>ValidatorResources</code> from validator-locale.xml.
      *
-     * @exception IOException   If something goes wrong
-     * @exception SAXException  If something goes wrong
+     * @throws IOException   If something goes wrong
+     * @throws SAXException  If something goes wrong
      */
     @Override
     protected void setUp()
@@ -67,7 +67,7 @@ public class LocaleTest extends Abstract
      * See what happens when we try to validate with a Locale, Country and
      * variant. Also check if the added locale validation field is getting used.
      *
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     public void testLocale1()
         throws ValidatorException {
@@ -83,7 +83,7 @@ public class LocaleTest extends Abstract
      * See what happens when we try to validate with a Locale, Country and
      * variant
      *
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     public void testLocale2()
         throws ValidatorException {
@@ -99,7 +99,7 @@ public class LocaleTest extends Abstract
      * See what happens when we try to validate with a Locale, Country and
      * variant
      *
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     public void testLocale3()
         throws ValidatorException {
@@ -116,7 +116,7 @@ public class LocaleTest extends Abstract
      * set. Bug #16920 states that this isn't happening, even though it is
      * passing this test. see #16920.
      *
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     public void testLocale4()
         throws ValidatorException {
@@ -131,7 +131,7 @@ public class LocaleTest extends Abstract
     /**
      * See if a locale of language=en falls back to default form set.
      *
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     public void testLocale5()
         throws ValidatorException {
@@ -151,7 +151,7 @@ public class LocaleTest extends Abstract
      * @param firstGood               param
      * @param lastGood                param
      * @param middleGood              param
-     * @exception ValidatorException  If something goes wrong
+     * @throws ValidatorException  If something goes wrong
      */
     private void valueTest(Object name, Locale loc, boolean firstGood, boolean lastGood, boolean middleGood)
         throws ValidatorException {