You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2018/02/09 14:46:32 UTC

spark git commit: [SPARK-21860][CORE][FOLLOWUP] fix java style error

Repository: spark
Updated Branches:
  refs/heads/master f77270b88 -> 0fc26313f


[SPARK-21860][CORE][FOLLOWUP] fix java style error

## What changes were proposed in this pull request?

#19077 introduced a Java style error (too long line). Quick fix.

## How was this patch tested?

running `./dev/lint-java`

Author: Marco Gaido <ma...@gmail.com>

Closes #20558 from mgaido91/SPARK-21860.


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

Branch: refs/heads/master
Commit: 0fc26313f8071cdcb4ccd67bb1d6942983199d36
Parents: f77270b
Author: Marco Gaido <ma...@gmail.com>
Authored: Fri Feb 9 08:46:27 2018 -0600
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Feb 9 08:46:27 2018 -0600

----------------------------------------------------------------------
 .../src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/0fc26313/common/unsafe/src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java
----------------------------------------------------------------------
diff --git a/common/unsafe/src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java b/common/unsafe/src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java
index 71c53d3..3ad9ac7 100644
--- a/common/unsafe/src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java
+++ b/common/unsafe/src/test/java/org/apache/spark/unsafe/PlatformUtilSuite.java
@@ -139,7 +139,8 @@ public class PlatformUtilSuite {
   @Test
   public void heapMemoryReuse() {
     MemoryAllocator heapMem = new HeapMemoryAllocator();
-    // The size is less than `HeapMemoryAllocator.POOLING_THRESHOLD_BYTES`,allocate new memory every time.
+    // The size is less than `HeapMemoryAllocator.POOLING_THRESHOLD_BYTES`,
+    // allocate new memory every time.
     MemoryBlock onheap1 = heapMem.allocate(513);
     Object obj1 = onheap1.getBaseObject();
     heapMem.free(onheap1);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org