diff options
author | Jakob Odersky <jakob@driver.xyz> | 2017-11-08 18:28:43 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2017-11-08 18:30:05 -0800 |
commit | 574cda580870d21de506eecf0ac9dd25bdc4be72 (patch) | |
tree | 9c5d7e27ea5c05fa6e12c2ddfc0a1f302b8d9030 /src/main/scala/xyz/driver/pdsuicommon/utils | |
parent | 1a172285403e77658db9d0331a5b7235946b90eb (diff) | |
download | rest-query-0.14.0.tar.gz rest-query-0.14.0.tar.bz2 rest-query-0.14.0.zip |
Upgrade sbt settings and support Scala 2.12v0.14.0
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuicommon/utils')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuicommon/utils/ServiceUtils.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/pdsuicommon/utils/ServiceUtils.scala b/src/main/scala/xyz/driver/pdsuicommon/utils/ServiceUtils.scala index cf53e6b..68070f4 100644 --- a/src/main/scala/xyz/driver/pdsuicommon/utils/ServiceUtils.scala +++ b/src/main/scala/xyz/driver/pdsuicommon/utils/ServiceUtils.scala @@ -15,8 +15,8 @@ object ServiceUtils extends PhiLogging { def findEqFilter(filter: SearchFilterExpr, dimension: Dimension): Option[SearchFilterExpr] = { filter.find { - case Atom.Binary(dimension, Eq, _) => true - case _ => false + case Atom.Binary(`dimension`, Eq, _) => true + case _ => false } } |