Skip to content

Commit

Permalink
Rearrange class members (code style)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth committed Jan 22, 2017
1 parent c88ef71 commit 17e9eb6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@
@Slf4j
public class TestcontainersConfiguration {

@Getter(lazy = true)
private static final TestcontainersConfiguration instance = loadConfiguration();

public String ambassadorContainerImage = "richnorth/ambassador:latest";
public String vncRecordedContainerImage = "richnorth/vnc-recorder:latest";

// No public constructor - must use getInstance() method.
private TestcontainersConfiguration() {
}

@Getter(lazy = true)
private static final TestcontainersConfiguration instance = loadConfiguration();

private static TestcontainersConfiguration loadConfiguration() {
final TestcontainersConfiguration config = new TestcontainersConfiguration();

Expand Down Expand Up @@ -51,7 +54,4 @@ private static TestcontainersConfiguration loadConfiguration() {

return config;
}

public String ambassadorContainerImage = "richnorth/ambassador:latest";
public String vncRecordedContainerImage = "richnorth/vnc-recorder:latest";
}

0 comments on commit 17e9eb6

Please sign in to comment.