Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Deleted useless @SupressWarnings annotation
  • Loading branch information
mathieuboniface committed Feb 4, 2013
commit c97a14afc4fff7ddf1ff0358c0cc0f4662038519
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ protected void generateRestTemplateCallBlock(MethodProcessorHolder methodHolder)
method = holder.restImplementationClass.method(JMod.PUBLIC, methodHolder.getMethodReturnClass(), methodName);
}
method.annotate(Override.class);
if (expectedClass != methodReturnClass && !methodReturnClass.fullName().startsWith(CanonicalNameConstants.RESPONSE_ENTITY)) {
method.annotate(SuppressWarnings.class).param("value", "unchecked");
}

// Keep a reference on method's body
JBlock body = method.body();
Expand Down