Skip to content

Commit 5615d1c

Browse files
committed
SPARK-54449: fix scala styling
1 parent 4282a71 commit 5615d1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/scala/org/apache/spark/memory/MemoryManager.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ private[spark] abstract class MemoryManager(
5858
onHeapStorageMemoryPool.incrementPoolSize(onHeapStorageMemory)
5959
onHeapExecutionMemoryPool.incrementPoolSize(onHeapExecutionMemory)
6060

61-
protected[this] val maxOffHeapMemory = if (conf.get(MEMORY_OFFHEAP_ENABLED)) conf.get(MEMORY_OFFHEAP_SIZE) else 0
61+
protected[this] val maxOffHeapMemory =
62+
if (conf.get(MEMORY_OFFHEAP_ENABLED)) conf.get(MEMORY_OFFHEAP_SIZE) else 0
6263
protected[this] val offHeapStorageMemory =
6364
(maxOffHeapMemory * conf.get(MEMORY_STORAGE_FRACTION)).toLong
6465

0 commit comments

Comments
 (0)