Fixed some warnings.

This commit is contained in:
TomyLobo 2011-12-26 11:02:38 +01:00
parent df206724bd
commit dffd8b59f5
2 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,6 @@
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

View File

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