Skip to content

Commit

Permalink
Update h2o-scala dependency on H2O Java API.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalohlava committed Aug 7, 2014
1 parent 191b202 commit 477ba9a
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 @@ -277,8 +277,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.globalKeySet(null).isEmpty()) println("<None>")
else H2O.globalKeySet(null).foreach((k:Key) => if (k.user_allowed() || verbose) println(k))
if (H2O.KeySnapshot.globalSnapshot().keys().isEmpty ) println("<None>")
else H2O.KeySnapshot.globalSnapshot().keys().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 477ba9a

Please sign in to comment.