aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-02-26 17:11:19 +0000
committerSean Owen <sowen@cloudera.com>2016-02-26 17:11:19 +0000
commit727e78014fd4957e477d62adc977fa4da3e3455d (patch)
tree2206401cc645dbf35078f3f680a6d305a086bd41 /common
parent7af0de076f74e975c9235c88b0f11b22fcbae060 (diff)
downloadspark-727e78014fd4957e477d62adc977fa4da3e3455d.tar.gz
spark-727e78014fd4957e477d62adc977fa4da3e3455d.tar.bz2
spark-727e78014fd4957e477d62adc977fa4da3e3455d.zip
[MINOR][SQL] Fix modifier order.
## What changes were proposed in this pull request? This PR fixes the order of modifier from `abstract public` into `public abstract`. Currently, when we run `./dev/lint-java`, it shows the error. ``` Checkstyle checks failed at following occurrences: [ERROR] src/main/java/org/apache/spark/util/sketch/CountMinSketch.java:[53,10] (modifier) ModifierOrder: 'public' modifier out of order with the JLS suggestions. ``` ## How was this patch tested? ``` $ ./dev/lint-java Checkstyle checks passed. ``` Author: Dongjoon Hyun <dongjoon@apache.org> Closes #11390 from dongjoon-hyun/fix_modifier_order.
Diffstat (limited to 'common')
-rw-r--r--common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketch.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketch.java b/common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketch.java
index 2c9aa93582..40fa20c4a3 100644
--- a/common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketch.java
+++ b/common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketch.java
@@ -50,7 +50,7 @@ import java.io.OutputStream;
*
* This implementation is largely based on the {@code CountMinSketch} class from stream-lib.
*/
-abstract public class CountMinSketch {
+public abstract class CountMinSketch {
public enum Version {
/**