Skip to content

Commit 2031e39

Browse files
committed
Cleaned up CiphertextHeaders
1 parent 531a871 commit 2031e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/amazonaws/encryptionsdk/model/CiphertextHeaders.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public Boolean isComplete() {
180180
*/
181181
private int parseVersion(final byte[] b, final int off) throws ParseException {
182182
version_ = PrimitivesParser.parseByte(b, off);
183-
if (CiphertextType.deserialize(version_).getValue() != VersionInfo.CURRENT_CIPHERTEXT_VERSION ) {
183+
if (CiphertextType.deserialize(version_).getValue() != VersionInfo.CURRENT_CIPHERTEXT_VERSION) {
184184
throw new BadCiphertextException("Invalid version type.");
185185
}
186186
return 1;

0 commit comments

Comments
 (0)