Skip to content

Commit

Permalink
[ADAM-1092] AlignmentRecordRDD should be an abstract class.
Browse files Browse the repository at this point in the history
Resolves #1092. Prior to this, javac would not recognize the AlignmentRecordRDD
trait as extending GenomicRDD.
  • Loading branch information
fnothaft authored and heuermh committed Feb 8, 2017
1 parent 6f30ec9 commit 52d5e1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private[adam] class AlignmentRecordArraySerializer extends IntervalArraySerializ
}
}

sealed trait AlignmentRecordRDD extends AvroReadGroupGenomicRDD[AlignmentRecord, AlignmentRecordRDD] {
abstract class AlignmentRecordRDD extends AvroReadGroupGenomicRDD[AlignmentRecord, AlignmentRecordRDD] {

protected def buildTree(rdd: RDD[(ReferenceRegion, AlignmentRecord)])(
implicit tTag: ClassTag[AlignmentRecord]): IntervalArray[ReferenceRegion, AlignmentRecord] = {
Expand Down

0 comments on commit 52d5e1f

Please sign in to comment.