Skip to content

Commit 559357e

Browse files
izeyewilkinsona
authored andcommitted
Remove redundant static modifier for enums
Closes gh-526
1 parent a2a9a7c commit 559357e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-restdocs-core/src/main/java/org/springframework/restdocs/payload/JsonFieldPath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private static List<String> extractDotSeparatedSegments(String path) {
127127
/**
128128
* The type of a field path.
129129
*/
130-
static enum PathType {
130+
enum PathType {
131131

132132
/**
133133
* The path identifies a single item in the payload.

spring-restdocs-core/src/main/java/org/springframework/restdocs/payload/JsonFieldProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ boolean fieldFound() {
195195
|| this.matchType == MatchType.NULL;
196196
}
197197

198-
private static enum MatchType {
198+
private enum MatchType {
199199

200200
ABSENT, MIXED, NONE, NULL, NON_NULL;
201201

0 commit comments

Comments
 (0)