Skip to content

Commit 4f63047

Browse files
committed
Polishing
1 parent 3c11270 commit 4f63047

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,21 +183,19 @@ private static class TestUrlResource extends UrlResource {
183183

184184
private String relativePath;
185185

186-
187186
public TestUrlResource(String path) throws MalformedURLException {
188187
super(path);
189188
}
190189

191-
192-
public String getSavedRelativePath() {
193-
return this.relativePath;
194-
}
195-
196190
@Override
197191
public Resource createRelative(String relativePath) {
198192
this.relativePath = relativePath;
199193
return this;
200194
}
195+
196+
public String getSavedRelativePath() {
197+
return this.relativePath;
198+
}
201199
}
202200

203201
}

0 commit comments

Comments
 (0)