Skip to content
Snippets Groups Projects
Commit 62a905a7 authored by J. M. Bailey's avatar J. M. Bailey
Browse files

Mitigate compiler warning

parent 05270735
No related branches found
No related tags found
No related merge requests found
......@@ -536,14 +536,14 @@ public class MarshalEnumsTest
private void marshalIt(Enum en, ByteBuffer bb) throws Throwable
{
Class c = en.getClass();
Class<?> c = en.getClass();
Method meth = c.getDeclaredMethod("marshal", new Class[]{ByteBuffer.class});
meth.invoke(en, bb);
}
private int getMarshalSize(Enum en) throws Throwable
{
Class c = en.getClass();
Class<?> c = en.getClass();
Method meth = c.getDeclaredMethod("getMarshalledSize", (Class[]) null);
return (Integer) meth.invoke(en, (Object[]) null);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment