Skip to content

Commit

Permalink
remove serialization v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakarimipour committed Nov 5, 2024
1 parent a0076e0 commit 4a7cd5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface SerializationAdapter {
* Latest version number. If version is not defined by the user, NullAway will use the
* corresponding adapter to this version in its serialization.
*/
int LATEST_VERSION = 4;
int LATEST_VERSION = 3;

/**
* Returns header of "errors.tsv" which contains all serialized {@link ErrorInfo} reported by
Expand Down Expand Up @@ -87,8 +87,6 @@ static SerializationAdapter getAdapterForVersion(int version) {
"Serialization version v2 is skipped and was used for an alpha version of the auto-annotator tool. Please use version 3 instead.");
case 3:
return new SerializationV3Adapter();
case 4:
return new SerializationV4Adapter();
default:
throw new RuntimeException(
"Unrecognized NullAway serialization version: "
Expand Down

This file was deleted.

0 comments on commit 4a7cd5c

Please sign in to comment.