sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1694507 - in /sis/branches/JDK8: core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java pom.xml
Date Thu, 06 Aug 2015 14:18:24 GMT
Author: desruisseaux
Date: Thu Aug  6 14:18:24 2015
New Revision: 1694507

URL: http://svn.apache.org/r1694507
Log:
Enabled the RedundantImport and GenericWhitespace checkstyle rules.

Modified:
    sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java
    sis/branches/JDK8/pom.xml

Modified: sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java?rev=1694507&r1=1694506&r2=1694507&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/constraint/DefaultConstraints.java
[UTF-8] Thu Aug  6 14:18:24 2015
@@ -195,7 +195,7 @@ public class DefaultConstraints extends
      *
      * @param newValues The new use limitations.
      */
-    public void setUseLimitations(final Collection< ? extends InternationalString>
newValues) {
+    public void setUseLimitations(final Collection<? extends InternationalString> newValues)
{
         useLimitations = writeCollection(newValues, useLimitations, InternationalString.class);
     }
 

Modified: sis/branches/JDK8/pom.xml
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/pom.xml?rev=1694507&r1=1694506&r2=1694507&view=diff
==============================================================================
--- sis/branches/JDK8/pom.xml (original)
+++ sis/branches/JDK8/pom.xml Thu Aug  6 14:18:24 2015
@@ -567,10 +567,10 @@ Apache SIS is a free software, Java lang
                 <module name="Checker">
                   <module name="FileTabCharacter"/>     <!-- Checks that there are
no tab characters in the file. -->
                   <module name="NewlineAtEndOfFile"/>   <!-- Checks that there is
a newline at the end of each file. -->
-<!--              <module name="TreeWalker">
-                    <module name="RedundantImport"/>    <!- Checks for redundant
import statements. ->
-                    <module name="GenericWhitespace"/>  <!- Checks that the whitespace
around the Generic tokens follow the typical convention. ->
-                  </module> -->
+                  <module name="TreeWalker">
+                    <module name="RedundantImport"/>    <!-- Checks for redundant
import statements. -->
+                    <module name="GenericWhitespace"/>  <!-- Checks that the whitespace
around the Generic tokens follow the typical convention. -->
+                  </module>
                 </module>
               </checkstyleRules>
             </configuration>



Mime
View raw message