diff options
Diffstat (limited to 'src/main/model/asn1/Bool.java')
-rw-r--r-- | src/main/model/asn1/Bool.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/model/asn1/Bool.java b/src/main/model/asn1/Bool.java index d9f1851..b400c7f 100644 --- a/src/main/model/asn1/Bool.java +++ b/src/main/model/asn1/Bool.java @@ -26,10 +26,10 @@ public class Bool extends ASN1Object { /** * EFFECTS: Parse input bytes. For more information on tags parsing, consult {@link ASN1Object}. - * Throws {@link ParseException} if the input data is invalid: - * - The length is not 1 - * - The value is neither 0x00 nor 0xFF - * - Other cases as denoted in {@link ASN1Object} + * Throws {@link ParseException} if the input data is invalid: + * - The length is not 1 + * - The value is neither 0x00 nor 0xFF + * - Other cases as denoted in {@link ASN1Object} */ public Bool(BytesReader encoded, boolean hasParentTag) throws ParseException { super(encoded, hasParentTag); @@ -51,7 +51,7 @@ public class Bool extends ASN1Object { */ @Override public Byte[] encodeValueDER() { - return new Byte[]{ value ? (byte) -1 : 0 }; + return new Byte[]{value ? (byte) -1 : 0}; } public boolean getValue() { |