Skip to content

Commit db06b33

Browse files
author
Marcus Linke
committed
format sources
1 parent 9366a9d commit db06b33

File tree

4 files changed

+22
-24
lines changed

4 files changed

+22
-24
lines changed

src/main/java/com/github/dockerjava/api/model/Node.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@
77
*/
88
public class Node {
99

10-
@JsonProperty("Name")
11-
private String name;
10+
@JsonProperty("Name")
11+
private String name;
1212

13-
@JsonProperty("Id")
14-
private String id;
13+
@JsonProperty("Id")
14+
private String id;
1515

16-
@JsonProperty("Addr")
17-
private String addr;
16+
@JsonProperty("Addr")
17+
private String addr;
1818

19-
@JsonProperty("Ip")
20-
private String ip;
19+
@JsonProperty("Ip")
20+
private String ip;
2121

22-
public String getName() {
23-
return name;
24-
}
22+
public String getName() {
23+
return name;
24+
}
2525

26-
public String getId() {
27-
return id;
28-
}
26+
public String getId() {
27+
return id;
28+
}
2929

30-
public String getAddr() {
31-
return addr;
32-
}
30+
public String getAddr() {
31+
return addr;
32+
}
3333

34-
public String getIp() {
35-
return ip;
36-
}
34+
public String getIp() {
35+
return ip;
36+
}
3737
}

src/main/java/com/github/dockerjava/core/command/FrameReader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public Frame readFrame() throws IOException {
4646

4747
if (rawStreamDetected) {
4848

49-
5049
int read = inputStream.read(rawBuffer);
5150

5251
return new Frame(StreamType.RAW, Arrays.copyOf(rawBuffer, read));
@@ -68,7 +67,7 @@ public Frame readFrame() throws IOException {
6867

6968
StreamType streamType = streamType(header[0]);
7069

71-
if(streamType.equals(StreamType.RAW)) {
70+
if (streamType.equals(StreamType.RAW)) {
7271
rawStreamDetected = true;
7372
return new Frame(StreamType.RAW, Arrays.copyOf(header, HEADER_SIZE));
7473
}

src/test/java/com/github/dockerjava/client/AbstractDockerClientTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ public static void assertContainerHasVolumes(InspectContainerResponse inspectCon
181181
assertThat(volumes, contains(expectedVolumes));
182182
}
183183

184-
185184
public static class CollectFramesCallback extends ResultCallbackTemplate<Frame> {
186185
public final List<Frame> frames = new ArrayList<Frame>();
187186

src/test/java/com/github/dockerjava/core/command/AuthCmdImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void testAuth() throws Exception {
4141
}
4242

4343
// Disabled because of 500/InternalServerException
44-
@Test(enabled=false)
44+
@Test(enabled = false)
4545
public void testAuthInvalid() throws Exception {
4646

4747
try {

0 commit comments

Comments
 (0)