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

Commit

Permalink
Only take the name from the ApiParam annotation if provided. Part of …
Browse files Browse the repository at this point in the history
…BZ 1122053
  • Loading branch information
pilhuhn committed Jan 8, 2015
1 parent 0832e0a commit 35cc775
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ else if (qp!=null) {
name = qp.value();
paramType="Query";
}
else if (ap!=null)
else if (ap!=null && !ap.name().isEmpty())
name = ap.name();
else {
Name nameElement = paramElement.getSimpleName();
Expand Down

0 comments on commit 35cc775

Please sign in to comment.