Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Killed commented out code and unnecessary import.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamalix committed May 14, 2012
1 parent 4d33731 commit c0b1673
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/scala/com/foursquare/slashem/Ast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import org.elasticsearch.index.query.{FilterBuilder => ElasticFilterBuilder,
QueryBuilder => ElasticQueryBuilder,
QueryBuilders => EQueryBuilders,
QueryStringQueryBuilder}
import scalaj.collection.Imports._

/**
* Abstract Syntax Tree used to represent queries.
Expand Down Expand Up @@ -425,7 +424,6 @@ object Ast {
val queries = query.map(q => {'"' + escape(q.toString) + '"'})
queries.mkString(" OR ")
}
// case true => {'"' + query.mkString("\" OR \"")
case false => '"' + query.mkString(" OR ") + '"'
}
}
Expand Down

0 comments on commit c0b1673

Please sign in to comment.