Skip to content

Commit

Permalink
update method
Browse files Browse the repository at this point in the history
(cherry picked from commit c9389e9)
  • Loading branch information
jt2594838 committed Sep 11, 2024
1 parent f36fc74 commit 95d565b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,14 @@ private static TSEncoding getTsEncoding(byte encoding) {
}
}

public boolean isSupported(TSDataType type, TSEncoding encoding) {
public static boolean isSupported(TSDataType type, TSEncoding encoding) {
return TYPE_SUPPORTED_ENCODINGS.get(type).contains(encoding);
}

public boolean isSupported(TSDataType type) {
return TYPE_SUPPORTED_ENCODINGS.get(type).contains(this);
}

public static int getSerializedSize() {
return Byte.BYTES;
}
Expand Down

0 comments on commit 95d565b

Please sign in to comment.