Fixed some warnings.

This commit is contained in:
TomyLobo
2011-12-26 00:06:50 +01:00
parent 376d3c8727
commit 4b47200f27
5 changed files with 1 additions and 11 deletions

View File

@ -24,6 +24,7 @@ import java.lang.reflect.Field;
* @author zml2008
*/
public class ReflectionUtil {
@SuppressWarnings("unchecked")
public static <T> T getField(Object from, String name) {
Class<?> checkClass = from.getClass();
do {