From 727e78014fd4957e477d62adc977fa4da3e3455d Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Fri, 26 Feb 2016 17:11:19 +0000 Subject: [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 Closes #11390 from dongjoon-hyun/fix_modifier_order. --- .../src/main/java/org/apache/spark/util/sketch/CountMinSketch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { /** -- cgit v1.2.3