commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1565833 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Fri, 07 Feb 2014 22:21:55 GMT
Author: ggregory
Date: Fri Feb  7 22:21:55 2014
New Revision: 1565833

URL: http://svn.apache.org/r1565833
Log:
[LANG-969] StringUtils.toEncodedString(byte[], Charset) needlessly throws exception.

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=1565833&r1=1565832&r2=1565833&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 Fri
Feb  7 22:21:55 2014
@@ -7625,7 +7625,7 @@ public class StringUtils {
      *            the encoding to use, if null then use the platform default
      * @return a new String
      * @throws UnsupportedEncodingException
-     *             If the named charset is not supported
+     *             This exception is never thrown and should not be in the signature, it
will be removed in 4.0.
      * @throws NullPointerException
      *             if the input is null
      * @since 3.2



Mime
View raw message