Skip to content

Commit

Permalink
Merge pull request #39806 from franz1981/indexOfChar
Browse files Browse the repository at this point in the history
Prefer single char String intrinsics over String one
  • Loading branch information
geoand authored Apr 1, 2024
2 parents afa90e3 + e615c43 commit 0bb2be5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class MatrixParamHandler implements ServerRestHandler {
@Override
public void handle(ResteasyReactiveRequestContext requestContext) throws Exception {
if (requestContext.getPath().contains(";")) {
if (requestContext.getPath().indexOf(';') != -1) {
requestContext.initPathSegments();
}
}
Expand Down

0 comments on commit 0bb2be5

Please sign in to comment.