Skip to content

Commit

Permalink
Reflected changes of H2O.keySet() in Scala code.
Browse files Browse the repository at this point in the history
Makefile was failing since h2o-scala was inconsistent due to
changes in h2o core.
  • Loading branch information
mmalohlava committed Jan 30, 2014
1 parent 6f7c6df commit b7332ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h2o-scala/src/main/scala/water/api/dsl/DslLegos.scala
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ trait T_H2O_Env[K<:HexKey, VT <: DFrame] { // Operating with only given represen
def keys(verbose:Boolean = false) = {
import scala.collection.JavaConversions._ // import implicit inversion for Java collections
println("*** Available keys *** ")
if (H2O.keySet().isEmpty()) println("<None>")
else H2O.keySet().foreach((k:Key) => if (k.user_allowed() || verbose) println(k))
if (H2O.globalKeySet(null).isEmpty()) println("<None>")
else H2O.globalKeySet(null).foreach((k:Key) => if (k.user_allowed() || verbose) println(k))
println("-----------------------")
}
// Access to DKV store is defined by reference
Expand Down

0 comments on commit b7332ac

Please sign in to comment.