CmdLineParser: Fix raw type warning
Change-Id: Iafe18c82c25942fe009138fcaa68a16e524416e6
This commit is contained in:
parent
eb374e4ea7
commit
317478fd8c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user