Skip to content

Commit

Permalink
[query] remove unused json impex on Type (#14800)
Browse files Browse the repository at this point in the history
This change has no security impact.
  • Loading branch information
ehigham authored Jan 27, 2025
1 parent 61c370d commit 1fb8b5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hail/hail/src/is/hail/types/virtual/Type.scala
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,6 @@ abstract class Type extends VType with Serializable {
ord
}

def jsonReader: JSONReader[Annotation] =
(a: JValue) => JSONAnnotationImpex.importAnnotation(a, this)

def jsonWriter: JSONWriter[Annotation] =
(pk: Annotation) => JSONAnnotationImpex.exportAnnotation(pk, this)

def _typeCheck(a: Any): Boolean

final def typeCheck(a: Any): Boolean = a == null || _typeCheck(a)
Expand Down

0 comments on commit 1fb8b5b

Please sign in to comment.