Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
n9Mtq4 committed Jul 6, 2015
1 parent c91dd5f commit d942195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/n9mtq4/reflection/ReflectionHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ public static Field[] getAllDeclaredFields(Class clazz) {
Class currentClass = clazz;
while (currentClass != null) {
fields.addAll(Arrays.asList(currentClass.getDeclaredFields()));
currentClass = clazz.getSuperclass();
currentClass = currentClass.getSuperclass();
}

Field[] fields1 = new Field[fields.size()];
Expand Down

0 comments on commit d942195

Please sign in to comment.