Skip to content

Commit

Permalink
[RESTEASY-3029] Minor follow up to remove dead code.
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/RESTEASY-3029
Signed-off-by: James R. Perkins <jperkins@redhat.com>
  • Loading branch information
jamezp committed Aug 2, 2023
1 parent 4e90f95 commit 61ad2ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public class SeparatorAnnotationAsFieldTargetEndPoint {
@GET
@Produces("text/plain")
public String getSentence() {
StringBuilder sb = new StringBuilder();

for (String id : ids) {
sb.append(id);
}

return "This is your sentence:" + String.join("", ids);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ public class SeparatorAnnotationAsParameterTargetEndPoint {
@GET
@Produces("text/plain")
public String getSentence(@PathParam("ids") @Separator(",") List<String> ids) {
StringBuilder sb = new StringBuilder();

for (String id : ids) {
sb.append(id);
}

return "This is your sentence:" + String.join("", ids);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ public void setIds(List<String> ids) {

@Override
public String toString() {
StringBuilder sb = new StringBuilder();

for (String id : this.ids) {
sb.append(id);
}

return "This is your sentence:" + String.join("", ids);
}
}

0 comments on commit 61ad2ba

Please sign in to comment.