فهرست منبع

value is known to be null anyway

Sebastian Stenzel 9 سال پیش
والد
کامیت
e57b60f04e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      main/filesystem-crypto/src/main/java/org/cryptomator/crypto/engine/impl/CryptorImpl.java

+ 1 - 1
main/filesystem-crypto/src/main/java/org/cryptomator/crypto/engine/impl/CryptorImpl.java

@@ -101,7 +101,7 @@ class CryptorImpl implements Cryptor {
 			final ObjectMapper om = new ObjectMapper();
 			keyFile = om.readValue(masterkeyFileContents, KeyFile.class);
 			if (keyFile == null) {
-				throw new InvalidFormatException("Could not read masterkey file", keyFile, KeyFile.class);
+				throw new InvalidFormatException("Could not read masterkey file", null, KeyFile.class);
 			}
 		} catch (IOException e) {
 			throw new IllegalArgumentException("Unable to parse masterkeyFileContents", e);