CmdLineParser: Fix raw type warning

Change-Id: Iafe18c82c25942fe009138fcaa68a16e524416e6
This commit is contained in:
David Pursehouse 2017-08-30 08:14:52 +09:00
parent eb374e4ea7
commit 317478fd8c

View File

@ -434,7 +434,7 @@ public class CmdLineParser {
}
private void parseAdditionalOptions(String prefix, Object bean, Set<Object> parsedBeans) {
for (Class c = bean.getClass(); c != null; c = c.getSuperclass()) {
for (Class<?> c = bean.getClass(); c != null; c = c.getSuperclass()) {
for (Field f : c.getDeclaredFields()) {
if (f.isAnnotationPresent(Options.class)) {
Object additionalBean = null;