Fix several compiler warning
Fixed compiler warnings by removing unused imports, unused methods and unneeded annotations for suppressing compiler warnings. Change-Id: I9dfcd747e3197a01b0de29134f19e85fd78bdaa2 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -38,7 +38,6 @@ public class OptionHandlerUtil {
|
||||
return (Key<OptionHandler<T>>) Key.get(handlerType);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T> Module moduleFor(final Class<T> type, Class<? extends OptionHandler<T>> impl) {
|
||||
return new FactoryModuleBuilder()
|
||||
.implement(handlerOf(type), impl)
|
||||
|
||||
Reference in New Issue
Block a user