Skip to content

Commit c97a14a

Browse files
Deleted useless @SupressWarnings annotation
1 parent 97b0d47 commit c97a14a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/processing/rest

‎AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/processing/rest/MethodProcessor.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ protected void generateRestTemplateCallBlock(MethodProcessorHolder methodHolder)
6969
method = holder.restImplementationClass.method(JMod.PUBLIC, methodHolder.getMethodReturnClass(), methodName);
7070
}
7171
method.annotate(Override.class);
72-
if (expectedClass != methodReturnClass && !methodReturnClass.fullName().startsWith(CanonicalNameConstants.RESPONSE_ENTITY)) {
73-
method.annotate(SuppressWarnings.class).param("value", "unchecked");
74-
}
7572

7673
// Keep a reference on method's body
7774
JBlock body = method.body();

0 commit comments

Comments
 (0)