Skip to content

Commit c0ae004

Browse files
committed
Merge branch '1.2.x'
2 parents d59886d + 02e842d commit c0ae004

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2017 the original author or authors.
2+
* Copyright 2014-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2017 the original author or authors.
2+
* Copyright 2014-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -180,7 +180,7 @@ boolean fieldFound() {
180180
|| this.matchType == MatchType.NULL;
181181
}
182182

183-
private static enum MatchType {
183+
private enum MatchType {
184184

185185
ABSENT, MIXED, NONE, NULL, NON_NULL;
186186

0 commit comments

Comments
 (0)