Skip to content

Commit 394c97d

Browse files
authored
indentation
1 parent 1a9e17f commit 394c97d

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/main/java/com/amihaiemil/docker/RtDockerSystem.java

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,30 @@ public final class RtDockerSystem implements DockerSystem {
3737
* @param baseUri Base URI, ending with /system.
3838
* @param dkr The Docker engine.
3939
*/
40-
RtDockerSystem(final HttpClient client, final URI baseUri,
41-
final Docker dkr) {
40+
RtDockerSystem(
41+
final HttpClient client, final URI baseUri, final Docker dkr
42+
) {
4243
this.client = client;
4344
this.baseUri = baseUri;
4445
this.docker = dkr;
4546
}
4647

4748
@Override
48-
public DiskSpaceInfo diskUsage() throws IOException,
49-
UnexpectedResponseException {
49+
public DiskSpaceInfo diskUsage()
50+
throws IOException, UnexpectedResponseException {
5051
final HttpGet init = new HttpGet(this.baseUri.toString() + "/df");
5152
try {
52-
return new SystemDiskSpaceInfo(this.client.execute(
53+
return new SystemDiskSpaceInfo(
54+
this.client.execute(
5355
init,
5456
new ReadJsonObject(
55-
new MatchStatus(
56-
init.getURI(),
57-
HttpStatus.SC_OK
58-
)
57+
new MatchStatus(
58+
init.getURI(),
59+
HttpStatus.SC_OK
60+
)
5961
)
60-
));
62+
)
63+
);
6164
} finally {
6265
init.releaseConnection();
6366
}

0 commit comments

Comments
 (0)