From eafb232f08110ad4d0d14bf01794aba25c1d83ca Mon Sep 17 00:00:00 2001 From: Sven Popping Date: Mon, 10 Dec 2018 16:12:41 +0100 Subject: [PATCH] Fix unable to create AttributeConverter instance --- .../ch/wisv/converters/AbstractCryptoConverter.java | 9 ++++++++- .../ch/wisv/converters/StringCryptoConverter.java | 11 ++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/wisv/converters/AbstractCryptoConverter.java b/src/main/java/ch/wisv/converters/AbstractCryptoConverter.java index d00a7c6..81a0944 100644 --- a/src/main/java/ch/wisv/converters/AbstractCryptoConverter.java +++ b/src/main/java/ch/wisv/converters/AbstractCryptoConverter.java @@ -32,12 +32,19 @@ abstract class AbstractCryptoConverter implements AttributeConverter { + /** + * StringCryptoConverter constructor. + */ + public StringCryptoConverter() { + this(new CipherInitializer()); + } + /** * StringCryptoConverter constructor. * * @param cipherInitializer of type CipherInitializer */ - StringCryptoConverter(CipherInitializer cipherInitializer) { + public StringCryptoConverter(CipherInitializer cipherInitializer) { super(cipherInitializer); }