Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

fix spotless problems in AT/OrionFactory #280

Merged
merged 1 commit into from
Aug 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public OrionNode create(final String nodeName, int keyCount) throws IOException
return create(nodeName, keyCount, Collections.emptyList());
}

public OrionNode create(final String nodeName, final int keyCount,
final List<OrionNode> bootnodes)
public OrionNode create(final String nodeName, final int keyCount, final List<OrionNode> bootnodes)
throws IOException {
final Path nodePath;
try {
Expand All @@ -51,8 +50,7 @@ public OrionNode create(final String nodeName, final int keyCount,

final List<KeyDefinition> nodeKeys = generateKeys(keyCount, nodePath);

final List<String> bootnodeStrings =
bootnodes.stream().map(OrionNode::nodeUrl).collect(Collectors.toList());
final List<String> bootnodeStrings = bootnodes.stream().map(OrionNode::nodeUrl).collect(Collectors.toList());

final OrionConfigFileGenerator fileGenerator =
new OrionConfigFileGenerator(nodeKeys, libSodiumPath, bootnodeStrings, nodePath);
Expand All @@ -66,8 +64,7 @@ public OrionNode create(final String nodeName, final int keyCount,
bootnodes.size());
}

private List<KeyDefinition> generateKeys(final int keyCount, final Path nodePath)
throws IOException {
private List<KeyDefinition> generateKeys(final int keyCount, final Path nodePath) throws IOException {

try {
final FileKeyStore fileKeyStore = new FileKeyStore(Config.defaultConfig());
Expand Down