Skip to content

Commit

Permalink
#280: Made the NotAValue class final to ensure uniqueness of NOT_A_VA…
Browse files Browse the repository at this point in the history
…LUE.
  • Loading branch information
jvdb committed Feb 11, 2019
1 parent 0755624 commit 87e0260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import io.parsingdata.metal.data.Slice;
import io.parsingdata.metal.encoding.Encoding;

public class NotAValue implements Value {
public final class NotAValue implements Value {

public static final Value NOT_A_VALUE = new NotAValue();
private static final UnsupportedOperationException UNSUPPORTED = new UnsupportedOperationException("NOT_A_VALUE does not support any Value operation.");
Expand Down

0 comments on commit 87e0260

Please sign in to comment.