Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yicong-Huang committed Dec 30, 2024
1 parent 020ad8f commit a8dd00d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import edu.uci.ics.amber.core.tuple.{Attribute, AttributeType, Schema, Tuple}
import org.scalatest.BeforeAndAfter
import org.scalatest.flatspec.AnyFlatSpec

import java.util.Arrays.asList
class SpecializedFilterOpExecSpec extends AnyFlatSpec with BeforeAndAfter {
val inputPort: Int = 0

Expand Down Expand Up @@ -91,7 +90,7 @@ class SpecializedFilterOpExecSpec extends AnyFlatSpec with BeforeAndAfter {
assert(attributes.length == 1)

val opExec = new SpecializedFilterOpExec(
List(new FilterPredicate(attributes(0).getName, ComparisonType.IS_NULL, null))
List(new FilterPredicate(attributes.head.getName, ComparisonType.IS_NULL, null))
)

opExec.open()
Expand Down Expand Up @@ -125,7 +124,7 @@ class SpecializedFilterOpExecSpec extends AnyFlatSpec with BeforeAndAfter {
assert(attributes.length == 1)

val opExec = new SpecializedFilterOpExec(
List(new FilterPredicate(attributes(0).getName, ComparisonType.IS_NOT_NULL, null))
List(new FilterPredicate(attributes.head.getName, ComparisonType.IS_NOT_NULL, null))
)

opExec.open()
Expand Down

0 comments on commit a8dd00d

Please sign in to comment.