Compare commits
2 Commits
4c800cfd89
...
8d24604707
Author | SHA1 | Date | |
---|---|---|---|
8d24604707 | |||
28d991f17c |
@ -31,5 +31,10 @@ public interface ReflectedMethodFactory<I extends Object, C extends Object> {
|
||||
|
||||
private ParserResults() {}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T extends Object> T get(Class<? extends MethodParser> key) {
|
||||
return (T) super.get(key);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -37,7 +37,7 @@ public class ReflectedMethodFactoryImpl<I extends Object, C extends Object> impl
|
||||
.findFirst();
|
||||
|
||||
if (rmethod.isEmpty())
|
||||
logger.warn("Could not produce a ReflectedMethod for Method {} in ", ReflectionUtil.getFullMethodName(method), this);
|
||||
logger.warn("Could not produce a ReflectedMethod for Method {} in {}", ReflectionUtil.getFullMethodName(method), this);
|
||||
else
|
||||
logger.debug("Produced {} for Method {} in {}", rmethod.get(), ReflectionUtil.getFullMethodName(method), this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user