commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [1/2] [lang] Apply patch contributed by Bruno P. Kinoshita
Date Mon, 27 Apr 2015 19:38:23 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 16b03b0c4 -> 63d8a025e


Apply patch contributed by Bruno P. Kinoshita


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/d81ea83a
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/d81ea83a
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/d81ea83a

Branch: refs/heads/master
Commit: d81ea83a0eb1761bb4e90a91f3b70f23f88a7d2a
Parents: 16b03b0
Author: Benedikt Ritter <britter@apache.org>
Authored: Mon Apr 27 21:30:22 2015 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Mon Apr 27 21:37:28 2015 +0200

----------------------------------------------------------------------
 src/changes/changes.xml                                       | 1 +
 src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d81ea83a/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 39e0808..3e25e06 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -22,6 +22,7 @@
   <body>
 
   <release version="3.5" date="tba" description="tba">
+    <action issue="LANG-979" type="update" dev="britter" due-to="Bruno P. Kinoshita">TypeUtils.parameterizeWithOwner
- wrong format descriptor for "invalid number of type parameters".</action>
     <action issue="LANG-1112" type="update" dev="britter">MultilineRecursiveToStringStyle
largely unusable due to being package-private.</action>
     <action issue="LANG-1058" type="update" dev="djones" due-to="Leo Wang">StringUtils.uncapitalize
performance improvement</action>
     <action issue="LANG-1069" type="update" dev="djones" due-to="Arno Noordover">CharSet.getInstance
documentation does not clearly explain how to include negation character in set</action>

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d81ea83a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
index 99a1625..1a750e9 100644
--- a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
+++ b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
@@ -1500,7 +1500,7 @@ public class TypeUtils {
         }
         Validate.noNullElements(typeArguments, "null type argument at index %s");
         Validate.isTrue(raw.getTypeParameters().length == typeArguments.length,
-            "invalid number of type parameters specified: expected %s, got %s", raw.getTypeParameters().length,
+            "invalid number of type parameters specified: expected %d, got %d", raw.getTypeParameters().length,
             typeArguments.length);
 
         return new ParameterizedTypeImpl(raw, useOwner, typeArguments);


Mime
View raw message