Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
plugin jerseyMultipartFormData for #334
Browse files Browse the repository at this point in the history
Forgot exception.  Not a big deal unless someone if adding them.
  • Loading branch information
jpbelang committed Mar 7, 2018
1 parent 2fea1c8 commit 1e67743
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public MethodSpec.Builder onMethod(ResourceContext context, GMethod method, GReq
newMethod.addAnnotation(annotation);
}

for (TypeName exception : old.exceptions) {

newMethod.addException(exception);
}

newMethod.addJavadoc("$L", old.javadoc);
newMethod.addModifiers(old.modifiers);

Expand Down

0 comments on commit 1e67743

Please sign in to comment.