Suppress injection test warnings

This commit is contained in:
Gabriele C
2016-05-23 23:16:40 +02:00
parent 30f62547d8
commit da6431b4fc
4 changed files with 6 additions and 4 deletions
@@ -114,6 +114,7 @@ public class FieldInjection<T> implements Injection<T> {
return null;
}
@SuppressWarnings("unchecked")
private static <T> Constructor<T> getDefaultConstructor(Class<T> clazz) {
try {
Constructor<?> defaultConstructor = clazz.getDeclaredConstructor();