Remove unnecessary local variables

Change-Id: I20ee3f7258d7e98b9c57b49c21b1e2d1582f626f
This commit is contained in:
alex.ryazantsev
2013-11-20 01:45:58 +04:00
committed by Shawn Pearce
parent 23e1a2e824
commit bbf93f85cf
12 changed files with 29 additions and 50 deletions

View File

@@ -73,9 +73,8 @@ public class OptionHandlers {
return (Class<?>) p.getActualTypeArguments()[0];
}
@SuppressWarnings("unchecked")
private static Binding<OptionHandlerFactory<?>> cast(Binding<?> e) {
@SuppressWarnings("unchecked")
Binding<OptionHandlerFactory<?>> b = (Binding<OptionHandlerFactory<?>>) e;
return b;
return (Binding<OptionHandlerFactory<?>>) e;
}
}