Remove unnecessary final modifier

final is useless for private and static methods

See gh-31916
This commit is contained in:
Yanming Zhou
2023-12-28 11:27:18 +08:00
committed by Stéphane Nicoll
parent c3b5f5bf90
commit 45080e3724
5 changed files with 10 additions and 10 deletions

View File

@@ -474,7 +474,7 @@ public class PathPatternParserTests {
}
@SafeVarargs
private final void assertPathElements(PathPattern p, Class<? extends PathElement>... sectionClasses) {
private void assertPathElements(PathPattern p, Class<? extends PathElement>... sectionClasses) {
PathElement head = p.getHeadSection();
for (Class<? extends PathElement> sectionClass : sectionClasses) {
if (head == null) {