Bumping versions

This commit is contained in:
buildmaster
2020-01-14 09:58:28 +00:00
parent 75f3bbcff1
commit 09aad0d92a
2 changed files with 8 additions and 4 deletions

View File

@@ -98,7 +98,8 @@ public class KeyStoreTextEncryptorLocator implements TextEncryptorLocator {
private RsaSecretEncryptor rsaSecretEncryptor(String alias, String secret) {
return new RsaSecretEncryptor(
this.keys.getKeyPair(alias, this.secretLocator.locate(secret)),
this.rsaAlgorithm, this.salt, this.strong);
this.keys.getKeyPair(alias, this.secretLocator.locate(secret)),
this.rsaAlgorithm, this.salt, this.strong);
}
}

View File

@@ -73,8 +73,11 @@ public class KeyStoreTextEncryptorLocatorTests {
@Test
public void testDefaultEncryptor() {
TextEncryptor encryptor1 = this.locator.locate(Collections.<String, String>emptyMap());
TextEncryptor encryptor2 = this.locator.locate(Collections.<String, String>emptyMap());
TextEncryptor encryptor1 = this.locator
.locate(Collections.<String, String>emptyMap());
TextEncryptor encryptor2 = this.locator
.locate(Collections.<String, String>emptyMap());
assertThat(encryptor1).isEqualTo(encryptor2);
}
}