Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove duplicate word
  • Loading branch information
naferx committed Aug 29, 2016
1 parent c435316 commit a69b676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slick/src/main/scala/slick/lifted/Query.scala
Expand Up @@ -48,7 +48,7 @@ sealed abstract class Query[+E, U, C[_]] extends QueryBase[C[U]] { self =>
}
/** Select all elements of this query which satisfy a predicate. Unlike
* `withFilter, this method only allows `Rep`-valued predicates, so it
* guards against the accidental use use plain Booleans. */
* guards against the accidental use plain Booleans. */
def filter[T <: Rep[_]](f: E => T)(implicit wt: CanBeQueryCondition[T]): Query[E, U, C] =
withFilter(f)
def filterNot[T <: Rep[_]](f: E => T)(implicit wt: CanBeQueryCondition[T]): Query[E, U, C] =
Expand Down Expand Up @@ -259,7 +259,7 @@ trait CanBeQueryCondition[-T] extends (T => Rep[_])

object CanBeQueryCondition {
// Using implicits with explicit type annotation here (instead of previously implicit objects)
// because otherwise they would not be found in this file above this line.
// because otherwise they would not be found in this file above this line.
// See https://github.com/slick/slick/pull/217
implicit val BooleanColumnCanBeQueryCondition : CanBeQueryCondition[Rep[Boolean]] =
new CanBeQueryCondition[Rep[Boolean]] {
Expand Down

0 comments on commit a69b676

Please sign in to comment.