'stolen' is a cute word, but given it means taking without permission it's incorrect here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@924407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dec906e158
commit
53d9ad9ffb
|
@ -44,7 +44,7 @@ public class TypeUtils {
|
|||
* @param type to read
|
||||
* @return Class<?>
|
||||
*/
|
||||
// original code stolen from commons [proxy]'s 2.0 branch, then kneaded until firm
|
||||
// original code taken from commons [proxy]'s 2.0 branch, then kneaded until firm
|
||||
public static Class<?> getRawType(Type enclosingType, Type type) {
|
||||
if (type instanceof Class<?>) {
|
||||
// it is raw, no problem
|
||||
|
@ -80,7 +80,7 @@ public class TypeUtils {
|
|||
* @param typeVar
|
||||
* @return Type resolved
|
||||
*/
|
||||
// original code stolen from commons [proxy]'s 2.0 branch, then kneaded until firm
|
||||
// original code taken from commons [proxy]'s 2.0 branch, then kneaded until firm
|
||||
private static Type resolveVariable(Type enclosingType, TypeVariable<?> typeVar) {
|
||||
if (enclosingType instanceof ParameterizedType) {
|
||||
ParameterizedType parameterizedEnclosingType = (ParameterizedType) enclosingType;
|
||||
|
|
Loading…
Reference in New Issue