Skip to content
Snippets Groups Projects
Commit b9e7609f authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #225 from ash211/patch-3

Add missing space after "Serialized" in StorageLevel

Current code creates outputs like:

scala> res0.getStorageLevel.description
res2: String = Serialized1x Replicated
parents 055462c1 21761168
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ class StorageLevel private( ...@@ -101,7 +101,7 @@ class StorageLevel private(
var result = "" var result = ""
result += (if (useDisk) "Disk " else "") result += (if (useDisk) "Disk " else "")
result += (if (useMemory) "Memory " else "") result += (if (useMemory) "Memory " else "")
result += (if (deserialized) "Deserialized " else "Serialized") result += (if (deserialized) "Deserialized " else "Serialized ")
result += "%sx Replicated".format(replication) result += "%sx Replicated".format(replication)
result result
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment