Merge branch 'LANG-979'
This commit is contained in:
commit
63d8a025e6
|
@ -22,6 +22,7 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<release version="3.5" date="tba" description="tba">
|
<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-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-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>
|
<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>
|
||||||
|
|
|
@ -1500,7 +1500,7 @@ public class TypeUtils {
|
||||||
}
|
}
|
||||||
Validate.noNullElements(typeArguments, "null type argument at index %s");
|
Validate.noNullElements(typeArguments, "null type argument at index %s");
|
||||||
Validate.isTrue(raw.getTypeParameters().length == typeArguments.length,
|
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);
|
typeArguments.length);
|
||||||
|
|
||||||
return new ParameterizedTypeImpl(raw, useOwner, typeArguments);
|
return new ParameterizedTypeImpl(raw, useOwner, typeArguments);
|
||||||
|
|
Loading…
Reference in New Issue