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

@@ -263,7 +263,7 @@ public abstract class AbstractMethodMetadataTests {
public static class WithPrivateMethod {
@Tag
private final String test() {
private String test() {
return "";
}