Github user ctubbsii commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/56#discussion_r46360216
--- Diff: proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java ---
@@ -135,7 +136,8 @@ public static TServer createProxyServer(Class<?> api,
Class<?> implementor, fina
@SuppressWarnings("unchecked")
--- End diff --
Before, this suppression was fine to do here, but I think the cast to
`Class<TProcessor>` should be moved up to the assignment of `proxyProcClass`
instead. That way, the cast here for the `Constructor` is unnecessary, and
makes it easier to follow to the next line when the `Constructor` is
instantiated with the `RpcWrapper`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---