Skip to content

Commit 477ba9a

Browse files
committed
Update h2o-scala dependency on H2O Java API.
1 parent 191b202 commit 477ba9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

h2o-scala/src/main/scala/water/api/dsl/DslLegos.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ trait T_H2O_Env[K<:HexKey, VT <: DFrame] { // Operating with only given represen
277277
def keys(verbose:Boolean = false) = {
278278
import scala.collection.JavaConversions._ // import implicit inversion for Java collections
279279
println("*** Available keys *** ")
280-
if (H2O.globalKeySet(null).isEmpty()) println("<None>")
281-
else H2O.globalKeySet(null).foreach((k:Key) => if (k.user_allowed() || verbose) println(k))
280+
if (H2O.KeySnapshot.globalSnapshot().keys().isEmpty ) println("<None>")
281+
else H2O.KeySnapshot.globalSnapshot().keys().foreach((k:Key) => if (k.user_allowed() || verbose) println(k))
282282
println("-----------------------")
283283
}
284284
// Access to DKV store is defined by reference

0 commit comments

Comments
 (0)