This is an automated email from the ASF dual-hosted git repository. amanin pushed a commit to branch refactor/sql-store in repository https://gitbox.apache.org/repos/asf/sis.git
commit be316f4a7eff8ded1b311b29a34e4289dcbff6d1 Author: Alexis Manin <[email protected]> AuthorDate: Mon Sep 30 09:45:18 2019 +0200 wip(SQLStore): fix style checking. --- pom.xml | 2 ++ .../main/java/org/apache/sis/internal/sql/feature/QueryFeatureSet.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8ea8cd8..178c211 100644 --- a/pom.xml +++ b/pom.xml @@ -745,6 +745,8 @@ <skip>${skipTests}</skip> <!-- When skipping tests, skip also checkstyle verification. --> <encoding>${project.build.sourceEncoding}</encoding> <consoleOutput>true</consoleOutput> + <!-- This flag asks to ignore generated source packages, like JMH compilation artifacts --> + <excludes>**/generated/**/*</excludes> <checkstyleRules> <module name="Checker"> <!-- diff --git a/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/QueryFeatureSet.java b/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/QueryFeatureSet.java index ffbdc8b..dd0741e 100644 --- a/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/QueryFeatureSet.java +++ b/storage/sis-sqlstore/src/main/java/org/apache/sis/internal/sql/feature/QueryFeatureSet.java @@ -385,7 +385,7 @@ public class QueryFeatureSet extends AbstractFeatureSet { * According to {@link Spliterator#trySplit()} documentation, the original size estimation must be reduced after * split to remain consistent. */ - long splittedAmount = 0; + long splittedAmount; private PrefetchSpliterator(ResultSet result) throws SQLException { this(result, 0.5f);
