SPR-6977: updated copyright; added method comment
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3092 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
b81adebd6e
commit
2f6747ae85
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -164,6 +164,9 @@ public abstract class GenericTypeResolver {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extract a class instance from given Type.
|
||||||
|
*/
|
||||||
private static Class extractClass(Class ownerClass, Type arg) {
|
private static Class extractClass(Class ownerClass, Type arg) {
|
||||||
if (arg instanceof TypeVariable) {
|
if (arg instanceof TypeVariable) {
|
||||||
TypeVariable tv = (TypeVariable) arg;
|
TypeVariable tv = (TypeVariable) arg;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue