Author: bayard
Date: Mon Jan 17 04:02:02 2011
New Revision: 1059744

URL: http://svn.apache.org/viewvc?rev=1059744&view=rev
Log:
Minor text changes; 'during 1.6 backcompat code' isn't meaningful

Modified:
    
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?rev=1059744&r1=1059743&r2=1059744&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
 Mon Jan 17 04:02:02 2011
@@ -653,18 +653,18 @@ public class StringUtils {
             } else if (sunAvailable) {
                 result = removeAccentsSUN(input);
             } else {
-               throw new UnsupportedOperationException("The 
stripAccents(CharSequence) method requires at least Java 1.6 or a SUN JVM");
+               throw new UnsupportedOperationException("The 
stripAccents(CharSequence) method requires at least Java 1.6 or a Sun JVM");
             }
             // Note that none of the above methods correctly remove 
ligatures...
             return result;
         } catch(IllegalArgumentException iae) {
-            throw new RuntimeException("IllegalArgumentException occurred 
during 1.6 backcompat code", iae);
+            throw new RuntimeException("IllegalArgumentException occurred", 
iae);
         } catch(IllegalAccessException iae) {
-            throw new RuntimeException("IllegalAccessException occurred during 
1.6 backcompat code", iae);
+            throw new RuntimeException("IllegalAccessException occurred", iae);
         } catch(InvocationTargetException ite) {
-            throw new RuntimeException("InvocationTargetException occurred 
during 1.6 backcompat code", ite);
+            throw new RuntimeException("InvocationTargetException occurred", 
ite);
         } catch(SecurityException se) {
-            throw new RuntimeException("SecurityException occurred during 1.6 
backcompat code", se);
+            throw new RuntimeException("SecurityException occurred", se);
         }
     }
 


Reply via email to