Skip to content

Commit 4b3022e

Browse files
committed
code format
1 parent 3987162 commit 4b3022e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/org/cryptomator/cli/Args.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public class Args {
3232
private static final String USAGE = "java -jar cryptomator-cli.jar" //
3333
+ " --bind localhost --port 8080" //
3434
+ " --vault mySecretVault=/path/to/vault --password mySecretVault=FooBar3000" //
35-
+ " --vault myOtherVault=/path/to/other/vault --password myOtherVault=BarFoo4000"
36-
+ " --vault myThirdVault=/path/to/third/vault --passwordfile myThirdVault=/path/to/passwordfile";
35+
+ " --vault myOtherVault=/path/to/other/vault --password myOtherVault=BarFoo4000" //
36+
+ " --vault myThirdVault=/path/to/third/vault --passwordfile myThirdVault=/path/to/passwordfile";
3737
private static final Options OPTIONS = new Options();
3838
static {
3939
OPTIONS.addOption(Option.builder() //
@@ -110,9 +110,9 @@ public String getVaultPasswordPath(String vaultName) {
110110
}
111111

112112
public String getVaultPassword(String vaultName) {
113-
if (vaultPasswords.getProperty(vaultName) == null){
113+
if (vaultPasswords.getProperty(vaultName) == null) {
114114
Path vaultPasswordPath = Paths.get(vaultPasswordFiles.getProperty(vaultName));
115-
if (Files.isReadable(vaultPasswordPath) && Files.isRegularFile(vaultPasswordPath)){
115+
if (Files.isReadable(vaultPasswordPath) && Files.isRegularFile(vaultPasswordPath)) {
116116
try (Stream<String> lines = Files.lines(vaultPasswordPath)) {
117117
return lines.findFirst().get().toString();
118118
} catch (IOException e) {

0 commit comments

Comments
 (0)