spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] git commit: Add missing space after "Serialized" in StorageLevel
Date Wed, 04 Dec 2013 22:44:43 GMT
Updated Branches:
  refs/heads/master 055462c1d -> b9e7609f2


Add missing space after "Serialized" in StorageLevel

Current code creates outputs like:

scala> res0.getStorageLevel.description
res2: String = Serialized1x Replicated

Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/21761168
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/21761168
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/21761168

Branch: refs/heads/master
Commit: 217611680d09efcf6a218179081ee71c0a8d5c12
Parents: d6e5473
Author: Andrew Ash <andrew@andrewash.com>
Authored: Wed Dec 4 11:29:20 2013 -0800
Committer: Andrew Ash <andrew@andrewash.com>
Committed: Wed Dec 4 11:29:20 2013 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/storage/StorageLevel.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/21761168/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala b/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala
index 632ff04..b5596df 100644
--- a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala
+++ b/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala
@@ -101,7 +101,7 @@ class StorageLevel private(
     var result = ""
     result += (if (useDisk) "Disk " else "")
     result += (if (useMemory) "Memory " else "")
-    result += (if (deserialized) "Deserialized " else "Serialized")
+    result += (if (deserialized) "Deserialized " else "Serialized ")
     result += "%sx Replicated".format(replication)
     result
   }


Mime
View raw message