tuned whitespace;
authorwenzelm
Tue, 17 Dec 2019 20:34:47 +0100
changeset 71298 93b097726667
parent 71297 9f2085c499a2
child 71299 51c19a44cfed
tuned whitespace;
src/Pure/General/json.scala
--- a/src/Pure/General/json.scala	Tue Dec 17 15:04:29 2019 +0100
+++ b/src/Pure/General/json.scala	Tue Dec 17 20:34:47 2019 +0100
@@ -251,7 +251,8 @@
         }
     }
 
-    object String {
+    object String
+    {
       def unapply(json: T): Option[java.lang.String] =
         json match {
           case x: java.lang.String => Some(x)
@@ -259,7 +260,8 @@
         }
     }
 
-    object Double {
+    object Double
+    {
       def unapply(json: T): Option[scala.Double] =
         json match {
           case x: scala.Double => Some(x)
@@ -269,7 +271,8 @@
         }
     }
 
-    object Long {
+    object Long
+    {
       def unapply(json: T): Option[scala.Long] =
         json match {
           case x: scala.Double if x.toLong.toDouble == x => Some(x.toLong)
@@ -279,7 +282,8 @@
         }
     }
 
-    object Int {
+    object Int
+    {
       def unapply(json: T): Option[scala.Int] =
         json match {
           case x: scala.Double if x.toInt.toDouble == x => Some(x.toInt)
@@ -289,7 +293,8 @@
         }
     }
 
-    object Boolean {
+    object Boolean
+    {
       def unapply(json: T): Option[scala.Boolean] =
         json match {
           case x: scala.Boolean => Some(x)
@@ -308,7 +313,8 @@
         }
     }
 
-    object Seconds {
+    object Seconds
+    {
       def unapply(json: T): Option[Time] =
         Double.unapply(json).map(Time.seconds(_))
     }