Skip to content

Commit

Permalink
removed unnecessary condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregg Hernandez committed Feb 5, 2015
1 parent f2ddad2 commit b880f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/lucidchart/open/relate/SqlResult.scala
Expand Up @@ -62,7 +62,7 @@ class SqlResult(val resultSet: java.sql.ResultSet) {
def asMultiMap[U, V](parser: SqlResult => (U, V)): Map[U, Set[V]] = {
val mm: mutable.MultiMap[U, V] = new mutable.HashMap[U, mutable.Set[V]] with mutable.MultiMap[U, V]
withResultSet { resultSet =>
while (resultSet.getRow < Long.MaxValue && resultSet.next()) {
while (resultSet.next()) {
val parsed = parser(this)
mm.addBinding(parsed._1, parsed._2)
}
Expand Down

0 comments on commit b880f7b

Please sign in to comment.