This is an automated email from the ASF dual-hosted git repository.

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new e4e1987a Update play-json dependency to 2.9 (#240)
e4e1987a is described below

commit e4e1987a19cb8f37887ede44db52048c20e00b23
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jan 30 04:21:16 2026 +0100

    Update play-json dependency to 2.9 (#240)
---
 etc/legal/LICENSE_extras                                            | 4 ++--
 project/Dependencies.scala                                          | 2 +-
 .../org/apache/toree/kernel/protocol/v5/content/KernelStatus.scala  | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/etc/legal/LICENSE_extras b/etc/legal/LICENSE_extras
index a5c43340..cc07a757 100644
--- a/etc/legal/LICENSE_extras
+++ b/etc/legal/LICENSE_extras
@@ -16,8 +16,8 @@ Apache License 2.0
    org.clapper:classutil_2.12:1.5.1 -> 
http://software.clapper.org/javautil/#copyright-and-license and 
licenses/LICENSE-clapper.txt
    org.clapper:grizzled-scala_2.12:4.9.3 -> 
http://software.clapper.org/grizzled-scala/#copyright-and-license and 
licenses/LICENSE-clapper.txt
    com.typesafe:config:1.4.3 -> 
https://github.com/lightbend/config/blob/master/LICENSE-2.0.txt
-   com.typesafe.play:play-json_2.12:2.7.4 -> 
https://github.com/playframework/play-json/blob/master/LICENSE
-   com.typesafe.play:play-functional_2.12:2.7.4
+   com.typesafe.play:play-json_2.12:2.9.4 -> 
https://github.com/playframework/play-json/blob/master/LICENSE
+   com.typesafe.play:play-functional_2.12:2.9.4
    commons-logging:commons-logging:1.1.3 -> 
https://github.com/apache/commons-logging/blob/trunk/LICENSE.txt
    io.get-coursier:coursier-cache_2.12:2.0.0 -> 
https://github.com/coursier/coursier/blob/master/LICENSE
    io.get-coursier:coursier_2.12:2.0.0 -> 
https://github.com/coursier/coursier/blob/master/LICENSE
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 451f960d..69dc67d7 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -47,7 +47,7 @@ object Dependencies {
 
   val jvmRepr = "com.github.jupyter" % "jvm-repr" % "0.1.0" // BSD 3-clause
 
-  val playJson = "com.typesafe.play" %% "play-json" % "2.7.4" // Apache v2
+  val playJson = "com.typesafe.play" %% "play-json" % "2.9.4" // Apache v2
 
   val scalaCompiler = Def.setting{ "org.scala-lang" % "scala-compiler" % 
scalaVersion.value } // BSD 3-clause
   val scalaLibrary = Def.setting{ "org.scala-lang" % "scala-library" % 
scalaVersion.value } // BSD 3-clause
diff --git 
a/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/content/KernelStatus.scala
 
b/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/content/KernelStatus.scala
index d7e148ba..547caeaa 100644
--- 
a/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/content/KernelStatus.scala
+++ 
b/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/content/KernelStatus.scala
@@ -41,11 +41,11 @@ object KernelStatus extends TypeString {
 
 object KernelStatusBusy extends KernelStatus("busy") {
   override def toString(): String = {
-    Json.toJson(this).toString
+    
Json.toJson(this.asInstanceOf[KernelStatus])(KernelStatus.kernelStatusWrites).toString
   }
 }
 object KernelStatusIdle extends KernelStatus("idle") {
   override def toString(): String = {
-    Json.toJson(this).toString
+    
Json.toJson(this.asInstanceOf[KernelStatus])(KernelStatus.kernelStatusWrites).toString
   }
-}
\ No newline at end of file
+}

Reply via email to