sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1789810 [1/2] - in /sis/branches/JDK8: ./ application/sis-console/src/main/java/org/apache/sis/console/ core/sis-build-helper/src/main/java/org/apache/sis/internal/book/ core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/ c...
Date Sat, 01 Apr 2017 15:51:09 GMT
Author: desruisseaux
Date: Sat Apr  1 15:51:08 2017
New Revision: 1789810

URL: http://svn.apache.org/viewvc?rev=1789810&view=rev
Log:
Enforce Checkstyle rules on modifier order, redundant modifiers, outer class name and occurrence, unicode characters, Java-style arrays.

Modified:
    sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
    sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/IdentifierCommand.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Assembler.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_en.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/package-info.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Doclet.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/package-info.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Assembler.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/BundleCreator.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Filenames.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/JarCollector.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackInput.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackOutput.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Packer.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/package-info.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Include.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/InlineTaglet.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Module.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Preformat.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/package-info.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/FilteredJarFile.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/JavaMaker.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/UnoPkg.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/package-info.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/IndexedResourceCompiler.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerException.java
    sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerMojo.java
    sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultAssociationRole.java
    sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/sql/ScriptRunner.java
    sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ScriptRunnerTest.java
    sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/APIVerifier.java
    sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/sql/MetadataSourceTest.java
    sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GeohashReferenceSystem.java
    sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/SimpleLocation.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolation.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NADCON.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NTv2.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/TransverseMercator.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CommonCRS.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/AuthorityFactoryIdentifier.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ContextualParameters.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/j2d/ShapeUtilitiesViewer.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolationTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NADCONTest.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NTv2Test.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/sql/EPSGDataFormatter.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/report/CoordinateOperationMethods.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/system/DelayedRunnable.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/LocalizedParseException.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/setup/About.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/Cache.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTable.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/MonolineFormatter.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/PooledUnmarshaller.java
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/XLink.java
    sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/measure/SystemUnitTest.java
    sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/TestUtilities.java
    sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/ClassesTest.java
    sis/branches/JDK8/pom.xml
    sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/index/GeoHashCoder.java
    sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTree.java
    sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
    sis/branches/JDK8/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/Store.java
    sis/branches/JDK8/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/ReaderTest.java
    sis/branches/JDK8/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/WriterTest.java

Modified: sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java [UTF-8] (original)
+++ sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -259,7 +259,7 @@ abstract class FormattedOutputCommand ex
                 connector.setOption(OptionKey.TIMEZONE, timezone);
                 connector.setOption(OptionKey.LOCALE,   locale);
                 connector.setOption(OptionKey.ENCODING, encoding);
-                try (final DataStore store = provider.open(connector)) {
+                try (DataStore store = provider.open(connector)) {
                     /*
                      * HACK: API used in this block is currently available only for GPX format,
                      * but we will generalize to more formats in a future Apache SIS version.

Modified: sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/IdentifierCommand.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/IdentifierCommand.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/IdentifierCommand.java [UTF-8] (original)
+++ sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/IdentifierCommand.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -52,7 +52,7 @@ final class IdentifierCommand extends Fo
      * <b>MAINTENANCE NOTE:</b> if this enumeration is modified,
      * update {@code IdentifierState.properties} accordingly.
      */
-    private static enum State {
+    private enum State {
         VALID("   "), APPROXIMATIVE("~  "), AXIS_ORDER("!  "), MISMATCH("!! "), UNKNOWN("?  ");
 
         /** The string representation. */ final String text;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Assembler.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Assembler.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Assembler.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Assembler.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -64,8 +64,8 @@ import static org.apache.sis.internal.bo
  * </ul>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.8
+ * @since   0.7
  */
 public final class Assembler {
     /**

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -39,8 +39,8 @@ import org.w3c.dom.NodeList;
  * standard, in GeoAPI or in Apache SIS.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.7
+ * @since   0.7
  * @module
  */
 public final class CodeColorizer {
@@ -75,7 +75,7 @@ public final class CodeColorizer {
     /**
      * The specifier of an identifier.
      */
-    private static enum Specifier {
+    private enum Specifier {
         OGC("OGC"), GEOAPI("GeoAPI"), SIS("SIS"), XML_PREFIX(null);
 
         /** The value to put in the {@code class} attribute of {@code <code>} or elements, or {@code null} if none. */
@@ -113,7 +113,7 @@ public final class CodeColorizer {
             if (in == null) {
                 throw new FileNotFoundException(filename);
             }
-            try (final BufferedReader r = new BufferedReader(new InputStreamReader(in, "UTF-8"))) {
+            try (BufferedReader r = new BufferedReader(new InputStreamReader(in, "UTF-8"))) {
                 String line;
                 while ((line = r.readLine()) != null) {
                     if (identifierSpecifiers.put(line, specifier) != null) {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -23,8 +23,8 @@ import java.util.ListResourceBundle;
  * Localized resources, for internal usage only.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.7
+ * @since   0.7
  */
 public class Resources extends ListResourceBundle {
     @Override

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_en.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_en.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_en.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_en.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -21,8 +21,8 @@ package org.apache.sis.internal.book;
  * Localized resources, for internal usage only.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.7
+ * @since   0.7
  */
 public final class Resources_en extends Resources {
 }

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -21,8 +21,8 @@ package org.apache.sis.internal.book;
  * Localized resources, for internal usage only.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.7
+ * @since   0.7
  */
 public final class Resources_fr extends Resources {
     @Override

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/package-info.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/package-info.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/package-info.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -24,7 +24,7 @@
  * Other classes are helper classes that should be ignored.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.8
+ * @since   0.7
  */
 package org.apache.sis.internal.book;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Doclet.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Doclet.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Doclet.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Doclet.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -50,8 +50,8 @@ import com.sun.tools.doclets.formats.htm
  * <p>This class presumes that all CSS files are encoded in UTF-8.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.5
  * @version 0.7
+ * @since   0.5
  * @module
  */
 public final class Doclet extends HtmlDoclet {
@@ -163,8 +163,8 @@ public final class Doclet extends HtmlDo
              * Copy the standard CSS file, skipping the import of DejaVu font
              * since our custom CSS file does not use it.
              */
-            try (final BufferedReader in  = openReader(stylesheetFile);
-                 final BufferedWriter out = openWriter(standardFile))
+            try (BufferedReader in  = openReader(stylesheetFile);
+                 BufferedWriter out = openWriter(standardFile))
             {
                 String line;
                 while ((line = in.readLine()) != null) {
@@ -178,8 +178,8 @@ public final class Doclet extends HtmlDo
         /*
          * Copy the custom CSS file, skipping comments for more compact file.
          */
-        try (final BufferedReader in  = openReader(inputFile);
-             final BufferedWriter out = openWriter(stylesheetFile))
+        try (BufferedReader in  = openReader(inputFile);
+             BufferedWriter out = openWriter(stylesheetFile))
         {
             String line;
             while ((line = in.readLine()) != null) {
@@ -217,8 +217,8 @@ public final class Doclet extends HtmlDo
              */
             final byte[] buffer = new byte[4096];
             for (final File input : inputFiles) {
-                try (final FileInputStream  in  = new FileInputStream(input);
-                     final FileOutputStream out = new FileOutputStream(new File(outputDirectory, input.getName())))
+                try (FileInputStream  in  = new FileInputStream(input);
+                     FileOutputStream out = new FileOutputStream(new File(outputDirectory, input.getName())))
                 {
                     int c;
                     while ((c = in.read(buffer)) >= 0) {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -42,8 +42,8 @@ import java.io.Writer;
  * We may revisit when JDK 9 become available, if their new standard doclet API is public.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.7
  * @version 0.7
+ * @since   0.7
  * @module
  */
 final class Rewriter {
@@ -123,7 +123,7 @@ final class Rewriter {
         modified = false;
         this.file = file;
         content.setLength(0);
-        try (final Reader in = new InputStreamReader(new FileInputStream(file), ENCODING)) {
+        try (Reader in = new InputStreamReader(new FileInputStream(file), ENCODING)) {
             int n;
             while ((n = in.read(buffer)) >= 0) {
                 content.append(buffer, 0, n);
@@ -137,7 +137,7 @@ final class Rewriter {
      */
     private void save() throws IOException {
         if (modified) {
-            try (final Writer out = new OutputStreamWriter(new FileOutputStream(file), ENCODING)) {
+            try (Writer out = new OutputStreamWriter(new FileOutputStream(file), ENCODING)) {
                 out.append(content);
             }
         }

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/package-info.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/package-info.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/package-info.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -20,8 +20,8 @@
  * Doclet performing post-processing after Javadoc generation.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.5
  * @version 0.7
+ * @since   0.5
  * @module
  */
 package org.apache.sis.internal.doclet;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Assembler.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Assembler.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Assembler.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Assembler.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -48,8 +48,8 @@ import static org.apache.sis.internal.ma
  * file for more information.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.4
  * @version 0.7
+ * @since   0.4
  * @module
  */
 @Mojo(name = "dist", defaultPhase = LifecyclePhase.INSTALL)

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/BundleCreator.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/BundleCreator.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/BundleCreator.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/BundleCreator.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -42,8 +42,8 @@ import static org.apache.sis.internal.ma
  * file for more information.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.7
+ * @since   0.3
  * @module
  */
 @Mojo(name = "pack", defaultPhase = LifecyclePhase.INSTALL)

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Filenames.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Filenames.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Filenames.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Filenames.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -28,8 +28,8 @@ import java.io.IOException;
  * and Pack200 bundle</cite> section in the <code>src/site/apt/index.apt</code> file.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.4
  * @version 0.4
+ * @since   0.4
  * @module
  */
 final class Filenames {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/JarCollector.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/JarCollector.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/JarCollector.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/JarCollector.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -47,8 +47,8 @@ import static org.apache.sis.internal.ma
  * creates a "{@code target/binaries/content.txt}" file listing the dependencies.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.7
+ * @since   0.3
  * @module
  */
 @Mojo(name = "collect-jars",

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackInput.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackInput.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackInput.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackInput.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -29,8 +29,8 @@ import java.io.InputStream;
  * Those files will be open in read-only mode.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 final class PackInput implements Closeable {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackOutput.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackOutput.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackOutput.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/PackOutput.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -38,8 +38,8 @@ import static org.apache.sis.internal.ma
  * A JAR file to be created for output by {@link Packer}.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.4
+ * @since   0.3
  * @module
  */
 final class PackOutput implements Closeable {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Packer.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Packer.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Packer.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/Packer.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -34,8 +34,8 @@ import static org.apache.sis.internal.ma
  * or listed in the {@code target/binaries/content.txt} file.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.4
+ * @since   0.3
  * @module
  */
 final class Packer implements FilenameFilter {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/package-info.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/package-info.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/maven/package-info.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -21,8 +21,8 @@
  * for building Apache SIS. See the Maven-generated module description for more information.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 package org.apache.sis.internal.maven;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Include.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Include.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Include.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Include.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -36,8 +36,8 @@ import com.sun.tools.doclets.Taglet;
  * just before the parts to copy in the javadoc.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.5
  * @version 0.5
+ * @since   0.5
  * @module
  */
 public final class Include extends InlineTaglet {
@@ -97,7 +97,7 @@ public final class Include extends Inlin
         file = new File(file.getParentFile(), reference.substring(0, sep));
         final String anchor = reference.substring(sep + 1);
         final StringBuilder buffer = new StringBuilder();
-        try (final BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8"))) {
+        try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8"))) {
             /*
              * Search the anchor.
              */

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/InlineTaglet.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/InlineTaglet.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/InlineTaglet.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/InlineTaglet.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -28,8 +28,8 @@ import com.sun.tools.doclets.formats.htm
  * Base class of inline taglets.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 abstract class InlineTaglet implements Taglet {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Module.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Module.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Module.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Module.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -26,8 +26,8 @@ import com.sun.tools.doclets.Taglet;
  * The <code>@module</code> tag. This tag expects no argument.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.3
  * @version 0.4
+ * @since   0.3
  * @module
  */
 public final class Module implements Taglet {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Preformat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Preformat.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Preformat.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/Preformat.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -34,8 +34,8 @@ import org.apache.sis.internal.book.Code
  * we can't use that character directly inside this taglet.</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 public final class Preformat extends InlineTaglet {
@@ -44,7 +44,7 @@ public final class Preformat extends Inl
      * conform to the Java convention for enumeration constants, because we will use {@link Enum#name()}
      * for getting the string to look for after {@code preformat}.
      */
-    private static enum Style {
+    private enum Style {
         java, math, wkt, xml, sql, shell, text
     }
 

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/package-info.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/package-info.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/package-info.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -20,8 +20,8 @@
  * Javadoc taglets for processing custom tags in SIS source code comments.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 package org.apache.sis.internal.taglet;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/FilteredJarFile.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/FilteredJarFile.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/FilteredJarFile.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/FilteredJarFile.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -40,8 +40,8 @@ import java.io.ByteArrayInputStream;
  * in {@literal "SHA1 digest error for <JAR file>"} error messages.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.8
  * @version 0.8
+ * @since   0.8
  * @module
  */
 final class FilteredJarFile extends JarFile {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/JavaMaker.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/JavaMaker.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/JavaMaker.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/JavaMaker.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -39,8 +39,8 @@ import org.codehaus.plexus.util.FileUtil
  * by {@code javac}), which is why the usual Maven resources mechanism doesn't fit.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.8
  * @version 0.8
+ * @since   0.8
  * @module
  */
 @Mojo(name = "javamaker", defaultPhase = LifecyclePhase.PROCESS_CLASSES)

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/UnoPkg.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/UnoPkg.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/UnoPkg.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/UnoPkg.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -39,8 +39,8 @@ import static java.util.jar.Pack200.Pack
  * Creates an {@code .oxt} package for <a href="http://www.openoffice.org">OpenOffice.org</a> addins.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.8
  * @version 0.8
+ * @since   0.8
  * @module
  */
 @Mojo(name = "unopkg", defaultPhase = LifecyclePhase.PACKAGE)

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/package-info.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/package-info.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/internal/unopkg/package-info.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -88,8 +88,8 @@
  * }
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.8
  * @version 0.8
+ * @since   0.8
  * @module
  */
 package org.apache.sis.internal.unopkg;

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/IndexedResourceCompiler.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/IndexedResourceCompiler.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/IndexedResourceCompiler.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/IndexedResourceCompiler.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -32,8 +32,8 @@ import java.util.regex.Pattern;
  * the command-line in a future version if this happen to be useful.</p>
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
- * @since   0.3
  * @version 0.8
+ * @since   0.3
  * @module
  */
 class IndexedResourceCompiler implements FilenameFilter, Comparator<Object> {

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerException.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerException.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerException.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -23,8 +23,8 @@ import org.apache.maven.plugin.MojoExecu
  * Thrown when the {@link ResourceCompilerMojo} exit abnormally.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @since   0.3
  * @version 0.3
+ * @since   0.3
  * @module
  */
 @SuppressWarnings("serial")

Modified: sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerMojo.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerMojo.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerMojo.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-build-helper/src/main/java/org/apache/sis/util/resources/ResourceCompilerMojo.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -42,8 +42,8 @@ import static org.apache.sis.util.resour
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @author  Olivier Nouguier (Geomatys)
- * @since   0.3
  * @version 0.7
+ * @since   0.3
  * @module
  */
 @Mojo(name = "compile-resources", defaultPhase = LifecyclePhase.GENERATE_RESOURCES)

Modified: sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultAssociationRole.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultAssociationRole.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultAssociationRole.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultAssociationRole.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -80,7 +80,7 @@ public class DefaultAssociationRole exte
      *
      * @see #getTitleProperty()
      */
-    private volatile transient String titleProperty;
+    private transient volatile String titleProperty;
 
     /**
      * Constructs an association to the given feature type. The properties map is given unchanged to

Modified: sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/sql/ScriptRunner.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/sql/ScriptRunner.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/sql/ScriptRunner.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/sql/ScriptRunner.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -462,7 +462,7 @@ public class ScriptRunner implements Aut
      * @throws SQLException if an error occurred while executing a SQL statement.
      */
     public final int run(final Class<?> loader, final String filename) throws IOException, SQLException {
-        try (final BufferedReader in = new LineNumberReader(new InputStreamReader(loader.getResourceAsStream(filename), "UTF-8"))) {
+        try (BufferedReader in = new LineNumberReader(new InputStreamReader(loader.getResourceAsStream(filename), "UTF-8"))) {
             return run(filename, in);
         }
     }

Modified: sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ScriptRunnerTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ScriptRunnerTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ScriptRunnerTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ScriptRunnerTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -43,7 +43,7 @@ public final strictfp class ScriptRunner
     @Test
     public void testOnDerby() throws Exception {
         final DataSource ds = TestDatabase.create("temporary");
-        try (final Connection c = ds.getConnection()) {
+        try (Connection c = ds.getConnection()) {
             final ScriptRunner sr = new ScriptRunner(c, 3);
             testSupportedFlags(sr);
             testRegularExpressions(sr);

Modified: sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/APIVerifier.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/APIVerifier.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/APIVerifier.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/APIVerifier.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -162,7 +162,7 @@ public final strictfp class APIVerifier
         final List<String> incompatibleChanges = new ArrayList<>();
         final ClassLoader parent = APIVerifier.class.getClassLoader().getParent();
         final URL dependency = unitsJAR.toURI().toURL();
-        try (final JarFile newJARContent = new JarFile(snapshotJAR);
+        try (JarFile newJARContent = new JarFile(snapshotJAR);
              final URLClassLoader oldAPI = new URLClassLoader(new URL[] {releasedJAR.toURI().toURL(), dependency}, parent);
              final URLClassLoader newAPI = new URLClassLoader(new URL[] {snapshotJAR.toURI().toURL(), dependency}, parent))
         {

Modified: sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/sql/MetadataSourceTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/sql/MetadataSourceTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/sql/MetadataSourceTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/metadata/sql/MetadataSourceTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -53,7 +53,7 @@ public final strictfp class MetadataSour
     @Test
     public void testOnDerby() throws Exception {
         final DataSource ds = TestDatabase.create("temporary");
-        try (final MetadataSource source = new MetadataSource(MetadataStandard.ISO_19115, ds, "metadata", null, null)) {
+        try (MetadataSource source = new MetadataSource(MetadataStandard.ISO_19115, ds, "metadata", null, null)) {
             source.install();
             verifyFormats(source);
             testSearch(source);

Modified: sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GeohashReferenceSystem.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GeohashReferenceSystem.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GeohashReferenceSystem.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GeohashReferenceSystem.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -62,7 +62,7 @@ public class GeohashReferenceSystem exte
     /**
      * The encoding format used by {@link GeoHashCoder}.
      */
-    public static enum Format {
+    public enum Format {
         /**
          * Format consisting of 32 symbols used at {@code http://geohash.org}. This encoding uses digits 0 to 9,
          * and lower-case letters {@code 'b'} to {@code 'z'} excluding {@code 'i'}, {@code 'l'} and {@code 'o'}.
@@ -226,7 +226,7 @@ public class GeohashReferenceSystem exte
         /**
          * Temporary array for coordinate transformation, or {@code null} if not needed.
          */
-        private transient final double[] coordinates;
+        private final transient double[] coordinates;
 
         /**
          * Creates a new geohash coder/decoder initialized to the default precision.

Modified: sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/SimpleLocation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/SimpleLocation.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/SimpleLocation.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/SimpleLocation.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -307,7 +307,7 @@ class SimpleLocation extends AbstractLoc
      * @version 0.8
      * @module
      */
-    static abstract class Projected extends SimpleLocation implements GeographicBoundingBox {
+    abstract static class Projected extends SimpleLocation implements GeographicBoundingBox {
         /**
          * The western-most coordinate of the limit of the dataset extent.
          * The value is expressed in longitude in decimal degrees (positive east).

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolation.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolation.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolation.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -330,7 +330,7 @@ public class FranceGeocentricInterpolati
             try {
                 grid = handler.peek();
                 if (grid == null) {
-                    try (final BufferedReader in = Files.newBufferedReader(resolved)) {
+                    try (BufferedReader in = Files.newBufferedReader(resolved)) {
                         DatumShiftGridLoader.log(FranceGeocentricInterpolation.class, file);
                         final DatumShiftGridFile.Float<Angle,Length> g = load(in, file);
                         grid = DatumShiftGridCompressed.compress(g, averages, scale);

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NADCON.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NADCON.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NADCON.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NADCON.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -162,7 +162,7 @@ public final class NADCON extends Abstra
                         // Note: buffer size must be divisible by the size of 'float' data type.
                         final ByteBuffer buffer = ByteBuffer.allocate(4096).order(ByteOrder.LITTLE_ENDIAN);
                         final FloatBuffer fb = buffer.asFloatBuffer();
-                        try (final ReadableByteChannel in = Files.newByteChannel(rlat)) {
+                        try (ReadableByteChannel in = Files.newByteChannel(rlat)) {
                             DatumShiftGridLoader.log(NADCON.class, CharSequences.commonPrefix(
                                     latitudeShifts.toString(), longitudeShifts.toString()).toString() + '…');
                             loader = new Loader(in, buffer, file);
@@ -170,7 +170,7 @@ public final class NADCON extends Abstra
                         }
                         buffer.clear();
                         file = longitudeShifts;
-                        try (final ReadableByteChannel in = Files.newByteChannel(rlon)) {
+                        try (ReadableByteChannel in = Files.newByteChannel(rlon)) {
                             new Loader(in, buffer, file).readGrid(fb, loader, null);
                         }
                     } catch (IOException | NoninvertibleTransformException | RuntimeException e) {

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NTv2.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NTv2.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NTv2.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NTv2.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -142,7 +142,7 @@ public final class NTv2 extends Abstract
             try {
                 grid = handler.peek();
                 if (grid == null) {
-                    try (final ReadableByteChannel in = Files.newByteChannel(resolved)) {
+                    try (ReadableByteChannel in = Files.newByteChannel(resolved)) {
                         DatumShiftGridLoader.log(NTv2.class, file);
                         final Loader loader = new Loader(in, file);
                         grid = loader.readGrid();

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/TransverseMercator.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/TransverseMercator.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/TransverseMercator.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/TransverseMercator.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -139,7 +139,7 @@ public final class TransverseMercator ex
      * @version 0.8
      * @module
      */
-    public static enum Zoner {
+    public enum Zoner {
         /**
          * Universal Transverse Mercator (UTM) projection zones.
          * The zone computation includes special cases for Norway and Svalbard.

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -136,7 +136,7 @@ public class ParameterFormat extends Tab
      * @version 0.4
      * @module
      */
-    public static enum ContentLevel {
+    public enum ContentLevel {
         /**
          * The most detailed content, which includes
          * {@linkplain org.apache.sis.referencing.AbstractIdentifiedObject#getName() name} and

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CommonCRS.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CommonCRS.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CommonCRS.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CommonCRS.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -1198,7 +1198,7 @@ public enum CommonCRS {
      *
      * @see org.apache.sis.referencing.factory.CommonAuthorityFactory
      */
-    public static enum Vertical {
+    public enum Vertical {
         /**
          * Height measured by atmospheric pressure in hectopascals (hPa).
          * Hectopascals are the units of measurement used by the worldwide meteorological community.
@@ -1499,7 +1499,7 @@ public enum CommonCRS {
      * @version 0.4
      * @module
      */
-    public static enum Temporal {
+    public enum Temporal {
         /**
          * Time measured as days since January 1st, 4713 BC at 12:00 UTC.
          */

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/AuthorityFactoryIdentifier.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/AuthorityFactoryIdentifier.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/AuthorityFactoryIdentifier.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/AuthorityFactoryIdentifier.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -85,7 +85,7 @@ final class AuthorityFactoryIdentifier {
      * The interfaces or abstract base classes for the above constants.
      */
     @SuppressWarnings({"unchecked", "rawtypes"})
-    private static final Class<? extends AuthorityFactory> TYPES[] = new Class[6];
+    private static final Class<? extends AuthorityFactory>[] TYPES = new Class[6];
     static {
         TYPES[CRS]       = CRSAuthorityFactory.class;
         TYPES[CS]        = CSAuthorityFactory.class;

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -74,7 +74,7 @@ public class IdentifiedObjectFinder {
      * @version 0.7
      * @module
      */
-    public static enum Domain {
+    public enum Domain {
         /**
          * Fast lookup based only on embedded identifiers and names. If those identification information
          * does not allow to locate an object in the factory, then the search will return an empty set.

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -227,7 +227,7 @@ public abstract class NormalizedProjecti
      *
      * @see NormalizedProjection#NormalizedProjection(OperationMethod, Parameters, Map)
      */
-    protected static enum ParameterRole {
+    protected enum ParameterRole {
         /**
          * Maps the <cite>semi-major axis length</cite> parameter (symbol: <var>a</var>).
          * This value is used for computing {@link NormalizedProjection#eccentricity},

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ContextualParameters.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ContextualParameters.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ContextualParameters.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ContextualParameters.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -145,7 +145,7 @@ public class ContextualParameters extend
      *
      * @see ContextualParameters#getMatrix(MatrixRole)
      */
-    public static enum MatrixRole {
+    public enum MatrixRole {
         /**
          * Matrix for converting angular degrees to radians, or any other linear operations needed
          * before to apply a non-linear operation. For example in a map projection, this matrix is

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -119,7 +119,7 @@ public class EllipsoidToCentricTransform
      * @version 0.7
      * @module
      */
-    public static enum TargetType {
+    public enum TargetType {
         /**
          * Indicates conversions from
          * {@linkplain org.apache.sis.referencing.cs.DefaultEllipsoidalCS ellipsoidal} to

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/j2d/ShapeUtilitiesViewer.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/j2d/ShapeUtilitiesViewer.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/j2d/ShapeUtilitiesViewer.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/j2d/ShapeUtilitiesViewer.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -49,7 +49,7 @@ final strictfp class ShapeUtilitiesViewe
     /**
      * The {@link ShapeUtilities} methods to test.
      */
-    private static enum Method {
+    private enum Method {
         INTERSECTION_POINT,
         NEAREAST_COLINEAR_POINT,
         COLINEAR_POINT,

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolationTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolationTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolationTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/FranceGeocentricInterpolationTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -143,7 +143,7 @@ public final strictfp class FranceGeocen
         assertNotNull("Test file \"" + TEST_FILE + "\" not found.", url);
         final Path file = Paths.get(url.toURI());
         final DatumShiftGridFile.Float<Angle,Length> grid;
-        try (final BufferedReader in = Files.newBufferedReader(file)) {
+        try (BufferedReader in = Files.newBufferedReader(file)) {
             grid = FranceGeocentricInterpolation.load(in, file);
         }
         assertEquals("cellPrecision",   0.005, grid.getCellPrecision(), STRICT);

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NADCONTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NADCONTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NADCONTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NADCONTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -232,7 +232,7 @@ public final strictfp class NADCONTest e
     {
         Envelope envelope = new Envelope2D(null, gridX, gridY, nx - 1, ny - 1);
         envelope = Envelopes.transform(grid.getCoordinateToGrid().inverse(), envelope);
-        try (final BufferedWriter out = Files.newBufferedWriter(file)) {
+        try (BufferedWriter out = Files.newBufferedWriter(file)) {
             out.write("NADCON EXTRACTED REGION\n");
             out.write(String.format(Locale.US, "%4d %3d %3d %11.5f %11.5f %11.5f %11.5f %11.5f\n", nx, ny, 1,
                     envelope.getMinimum(0), envelope.getSpan(0) / (nx - 1),

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NTv2Test.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NTv2Test.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NTv2Test.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/NTv2Test.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -234,7 +234,7 @@ public final strictfp class NTv2Test ext
         }
         writeString(buffer, "END");
         nextRecord(buffer);
-        try (final WritableByteChannel c = Files.newByteChannel(out, StandardOpenOption.CREATE, StandardOpenOption.WRITE)) {
+        try (WritableByteChannel c = Files.newByteChannel(out, StandardOpenOption.CREATE, StandardOpenOption.WRITE)) {
             buffer.flip();
             c.write(buffer);
         }

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/sql/EPSGDataFormatter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/sql/EPSGDataFormatter.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/sql/EPSGDataFormatter.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/sql/EPSGDataFormatter.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -243,9 +243,7 @@ public final class EPSGDataFormatter ext
             throw new IllegalArgumentException("Input and output files are the same.");
         }
         out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputFile), StandardCharsets.ISO_8859_1));
-        try (final LineNumberReader in = new LineNumberReader(
-                new InputStreamReader(new FileInputStream(inputFile), StandardCharsets.ISO_8859_1)))
-        {
+        try (LineNumberReader in = new LineNumberReader(new InputStreamReader(new FileInputStream(inputFile), StandardCharsets.ISO_8859_1))) {
             out.write("---\n" +
                       "---    Copyright International Association of Oil and Gas Producers (IOGP)\n" +
                       "---    See  http://www.epsg.org/TermsOfUse  (a copy is in ./LICENSE.txt).\n" +

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/report/CoordinateOperationMethods.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/report/CoordinateOperationMethods.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/report/CoordinateOperationMethods.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/report/CoordinateOperationMethods.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -87,7 +87,7 @@ public strictfp class CoordinateOperatio
             }
             return c;
         });
-        try (final CoordinateOperationMethods writer = new CoordinateOperationMethods()) {
+        try (CoordinateOperationMethods writer = new CoordinateOperationMethods()) {
             writer.writeIndex(methods);
             for (final OperationMethod method : methods) {
                 writer.write(method);

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/system/DelayedRunnable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/system/DelayedRunnable.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/system/DelayedRunnable.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/system/DelayedRunnable.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -95,7 +95,7 @@ public abstract class DelayedRunnable im
      * @version 0.3
      * @module
      */
-    public static abstract class Immediate extends DelayedRunnable {
+    public abstract static class Immediate extends DelayedRunnable {
         /**
          * A counter for ordering the tasks in a "first created, first executed" basis.
          */

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -85,7 +85,7 @@ public abstract class AbstractMap<K,V> i
      *
      * @see AbstractMap#entryIterator()
      */
-    protected static abstract class EntryIterator<K,V> {
+    protected abstract static class EntryIterator<K,V> {
         /**
          * Moves the iterator to the next position, and returns {@code true} if there is at least one remaining element.
          *
@@ -550,7 +550,7 @@ public abstract class AbstractMap<K,V> i
      * Base class of iterators overs keys, values or entries.
      * Those iterators wrap an {@link EntryIterator} instance.
      */
-    private static abstract class Iter<K,V> {
+    private abstract static class Iter<K,V> {
         /** The wrapped entry iterator. */
         private final EntryIterator<K,V> iterator;
 

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/LocalizedParseException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/LocalizedParseException.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/LocalizedParseException.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/LocalizedParseException.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -57,12 +57,12 @@ public final class LocalizedParseExcepti
      * The deserialized value will be 0, which will cause this {@code LocalizedParseException} to fallback
      * on {@code super.getMessage()}.</p>
      */
-    private transient final short key;
+    private final transient short key;
 
     /**
      * The parameters for the localization message.
      */
-    private transient final Object[] parameters;
+    private final transient Object[] parameters;
 
     /**
      * Constructs a {@code ParseException} with a message formatted from the given resource key and message parameters.

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -134,7 +134,7 @@ public class UnitFormat extends Format i
      * @version 0.8
      * @module
      */
-    public static enum Style {
+    public enum Style {
         /**
          * Format unit symbols using Unicode characters. Units formatted in this style use superscript digits
          * for exponents (as in “m³”), the dot operator (“⋅”) for multiplications, specialized characters when

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/setup/About.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/setup/About.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/setup/About.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/setup/About.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -597,7 +597,7 @@ pathTree:   for (int j=0; ; j++) {
             }
             final File file = entry.getKey();
             if (file.isFile() && file.canRead()) {
-                try (final JarFile jar = new JarFile(file)) {
+                try (JarFile jar = new JarFile(file)) {
                     final Manifest manifest = jar.getManifest();
                     if (manifest != null) {
                         final Attributes attributes = manifest.getMainAttributes();

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/Cache.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/Cache.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/Cache.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/Cache.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -184,7 +184,7 @@ public class Cache<K,V> extends Abstract
     /**
      * A view over the entries in the cache.
      */
-    private volatile transient Set<Entry<K,V>> entries;
+    private transient volatile Set<Entry<K,V>> entries;
 
     /**
      * Creates a new cache with a default initial capacity and cost limit of 100.

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTable.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTable.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTable.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -122,7 +122,7 @@ public interface TreeTable {
      * @version 0.8
      * @module
      */
-    public static interface Node {
+    public interface Node {
         /**
          * Returns the parent node, or {@code null} if this node is the root of the tree.
          *

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/MonolineFormatter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/MonolineFormatter.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/MonolineFormatter.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/MonolineFormatter.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -771,7 +771,7 @@ loop:   for (int i=0; ; i++) {
         if (resources != null) {
             message = resources.getString(message);
         }
-        final Object parameters[] = record.getParameters();
+        final Object[] parameters = record.getParameters();
         if (parameters != null && parameters.length != 0) {
             int i = message.indexOf('{');
             if (i >= 0 && ++i < message.length()) {

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/PooledUnmarshaller.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/PooledUnmarshaller.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/PooledUnmarshaller.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/PooledUnmarshaller.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -178,7 +178,7 @@ final class PooledUnmarshaller extends P
     public Object unmarshal(final URL input) throws JAXBException {
         final FilterVersion version = getFilterVersion();
         if (version != null) try {
-            try (final InputStream s = input.openStream()) {
+            try (InputStream s = input.openStream()) {
                 return unmarshal(InputFactory.createXMLStreamReader(s), version);
             }
         } catch (IOException | XMLStreamException e) {
@@ -200,7 +200,7 @@ final class PooledUnmarshaller extends P
     public Object unmarshal(final File input) throws JAXBException {
         final FilterVersion version = getFilterVersion();
         if (version != null) try {
-            try (final InputStream s = new BufferedInputStream(new FileInputStream(input))) {
+            try (InputStream s = new BufferedInputStream(new FileInputStream(input))) {
                 return unmarshal(InputFactory.createXMLStreamReader(s), version);
             }
         } catch (IOException | XMLStreamException e) {

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/XLink.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/XLink.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/XLink.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/xml/XLink.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -214,7 +214,7 @@ public class XLink implements Serializab
      * @see XLink#getType()
      */
     @XmlEnum
-    public static enum Type {
+    public enum Type {
         /**
          * A simple link. Allows the {@link XLink#getHRef() href}, {@link XLink#getRole() role},
          * {@link XLink#getArcRole() arcrole}, {@link #getTitle() title}, {@link XLink#getShow()
@@ -537,7 +537,7 @@ public class XLink implements Serializab
      * @see XLink#getShow()
      */
     @XmlEnum
-    public static enum Show {
+    public enum Show {
         /**
          * Load ending resource in a new window, frame, pane, or other presentation context.
          */
@@ -612,7 +612,7 @@ public class XLink implements Serializab
      * @see XLink#getActuate()
      */
     @XmlEnum
-    public static enum Actuate {
+    public enum Actuate {
         /**
          * Traverse to the ending resource immediately on loading the starting resource.
          */

Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/measure/SystemUnitTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/measure/SystemUnitTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/measure/SystemUnitTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/measure/SystemUnitTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -353,6 +353,6 @@ public final strictfp class SystemUnitTe
     /**
      * A dummy quantity type for tests using a quantity type unknown to Apache SIS.
      */
-    private static interface Strange extends Quantity<Strange> {
+    private interface Strange extends Quantity<Strange> {
     }
 }

Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/TestUtilities.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/TestUtilities.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/TestUtilities.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/test/TestUtilities.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -459,7 +459,7 @@ public final strictfp class TestUtilitie
      */
     public static SeekableByteChannel createTemporaryFile(final Class<?> caller, final String resource) throws IOException {
         final SeekableByteChannel channel;
-        try (final ReadableByteChannel in = Channels.newChannel(caller.getResourceAsStream(resource))) {
+        try (ReadableByteChannel in = Channels.newChannel(caller.getResourceAsStream(resource))) {
             final int s = resource.lastIndexOf('.');
             final Path file = Files.createTempFile("SIS", (s >= 0) ? resource.substring(s) : null);
             channel = Files.newByteChannel(file, StandardOpenOption.DELETE_ON_CLOSE,

Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/ClassesTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/ClassesTest.java?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/ClassesTest.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/ClassesTest.java [UTF-8] Sat Apr  1 15:51:08 2017
@@ -119,9 +119,9 @@ public final strictfp class ClassesTest
     /**
      * Dummy class for {@link #testGetLeafInterfaces()}.
      */
-    private static abstract class T1 implements GeographicCRS {}
-    private static abstract class T2 extends T1 implements SingleCRS, CoordinateOperation {}
-    private static abstract class T3 extends T2 implements Transformation {}
+    private abstract static class T1 implements GeographicCRS {}
+    private abstract static class T2 extends T1 implements SingleCRS, CoordinateOperation {}
+    private abstract static class T3 extends T2 implements Transformation {}
 
     /**
      * Tests {@link Classes#findCommonClass(Iterable)}

Modified: sis/branches/JDK8/pom.xml
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/pom.xml?rev=1789810&r1=1789809&r2=1789810&view=diff
==============================================================================
--- sis/branches/JDK8/pom.xml (original)
+++ sis/branches/JDK8/pom.xml Sat Apr  1 15:51:08 2017
@@ -695,6 +695,10 @@ Apache SIS is a free software, Java lang
               <consoleOutput>true</consoleOutput>
               <checkstyleRules>
                 <module name="Checker">
+                  <!--
+                    Whether whitespaces should be present before or after various kind of tokens,
+                    and where line wraps are allowed or mandated.
+                  -->
                   <module name="FileTabCharacter"/>         <!-- No tab characters in the file. -->
                   <module name="NewlineAtEndOfFile"/>       <!-- Newline at the end of each file. -->
                   <module name="TreeWalker">
@@ -731,7 +735,30 @@ Apache SIS is a free software, Java lang
                       <property name="allowEmptyLambdas"      value="true"/>
                       <property name="allowEmptyCatches"      value="true"/>
                     </module>
+                    <!--
+                      Code formatting on other aspects than whitespaces. When there is different ways to express
+                      the same thing (e.g. Java-style versus C-style of array declarations), the following rules
+                      enforce one specific convention.
+                    -->
+                    <module name="UpperEll"/>               <!-- Upper-case 'L' suffix for longs, not 'l'. -->
+                    <module name="ArrayTypeStyle"/>         <!-- Java-style arrays, not C-style. -->
+                    <module name="ModifierOrder"/>          <!-- Order of public, static, etc. keywords. -->
+                    <module name="AvoidEscapedUnicodeCharacters">
+                      <property name="allowEscapesForControlCharacters" value="true"/>
+                      <property name="allowNonPrintableEscapes"         value="true"/>
+                      <property name="allowIfAllCharactersEscaped"      value="true"/>
+                      <property name="allowByTailComment"               value="true"/>
+                    </module>
+                    <!--
+                      Programming language constructs: number of elements, modifiers, etc.
+                    -->
+                    <module name="OuterTypeFilename"/>      <!-- Outer type name and file name shall match. -->
+                    <module name="OuterTypeNumber"/>        <!-- Only one outer type per file. -->
+                    <module name="RedundantModifier">       <!-- No modifiers that were implicit. -->
+                      <property name="tokens" value="VARIABLE_DEF, ANNOTATION_FIELD_DEF, INTERFACE_DEF, CLASS_DEF, ENUM_DEF, RESOURCE"/>
+                    </module>
                   </module>
+                  <module name="UniqueProperties"/>       <!-- No duplicated keys in *.properties files. -->
                 </module>
               </checkstyleRules>
             </configuration>



Mime
View raw message