Skip to content

Commit 8e303e9

Browse files
committed
Merge pull request #1207 from restlet/fix/refactored_file_client_helper
Introduced try-with-resources and java.nio.path features
2 parents 58dc78c + 74c02d5 commit 8e303e9

File tree

2 files changed

+193
-268
lines changed

2 files changed

+193
-268
lines changed

modules/org.restlet.test/src/org/restlet/test/data/StatusTestCase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public class StatusTestCase extends RestletTestCase {
3636

3737
public void testCustomDescription() {
3838
final String customDescription = "My custom description";
39-
final Status s = new Status(Status.CLIENT_ERROR_NOT_FOUND,
40-
customDescription);
39+
final Status s = new Status(Status.CLIENT_ERROR_NOT_FOUND, customDescription);
4140
assertEquals(customDescription, s.getDescription());
4241
}
4342

0 commit comments

Comments
 (0)