commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ki...@apache.org
Subject svn commit: r1541597 - in /commons/proper/functor/trunk: build-tools/src/main/resources/org/apache/commons/functor/ core/src/main/java/org/apache/commons/functor/range/
Date Wed, 13 Nov 2013 16:38:00 GMT
Author: kinow
Date: Wed Nov 13 16:38:00 2013
New Revision: 1541597

URL: http://svn.apache.org/r1541597
Log:
Fix checkstyle errors for JavaDocs and Visibility Modifier (fixed using commons-lang as ref)

Modified:
    commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle-suppressions.xml
    commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/AbstractRange.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/NumericRange.java

Modified: commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle-suppressions.xml?rev=1541597&r1=1541596&r2=1541597&view=diff
==============================================================================
--- commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle-suppressions.xml
(original)
+++ commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle-suppressions.xml
Wed Nov 13 16:38:00 2013
@@ -24,4 +24,5 @@
   <suppress checks="HiddenField" files=".+\.java" lines="0-9999" />
   <suppress checks="DesignForExtension" files=".+\.java" lines="0-9999" />
   <suppress checks="HideUtilityClassConstructor" files=".+\.java" lines="0-9999" />
+  <suppress checks="VisibilityModifier" files=".+\.java" lines="0-9999" />
 </suppressions>

Modified: commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml?rev=1541597&r1=1541596&r2=1541597&view=diff
==============================================================================
--- commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
(original)
+++ commons/proper/functor/trunk/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
Wed Nov 13 16:38:00 2013
@@ -90,7 +90,9 @@
 
         <!-- Checks for Javadoc comments.                     -->
         <!-- See http://checkstyle.sf.net/config_javadoc.html -->
-        <module name="JavadocMethod"/>
+        <module name="JavadocMethod">
+            <property name="allowUndeclaredRTE" value="true"/>
+        </module>
         <module name="JavadocType"/>
         <module name="JavadocVariable"/>
         <module name="JavadocStyle"/>

Modified: commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/AbstractRange.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/AbstractRange.java?rev=1541597&r1=1541596&r2=1541597&view=diff
==============================================================================
--- commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/AbstractRange.java
(original)
+++ commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/AbstractRange.java
Wed Nov 13 16:38:00 2013
@@ -22,8 +22,8 @@ import org.apache.commons.lang3.Validate
 import org.apache.commons.lang3.builder.EqualsBuilder;
 
 /**
- * Abstract {@link Range}
- * 
+ * Abstract {@link Range}.
+ *
  * @param <T>
  * @param <S>
  */
@@ -46,10 +46,10 @@ public abstract class AbstractRange<T ex
 
     /**
      * Create a new {@link AbstractRange}.
-     * 
-     * @param leftEndpoint
-     * @param rightEndpoint
-     * @param step
+     *
+     * @param leftEndpoint left endpoint
+     * @param rightEndpoint right endpoint
+     * @param step increment step
      */
     protected AbstractRange(Endpoint<T> leftEndpoint, Endpoint<T> rightEndpoint,
S step) {
         super();

Modified: commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/NumericRange.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/NumericRange.java?rev=1541597&r1=1541596&r2=1541597&view=diff
==============================================================================
--- commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/NumericRange.java
(original)
+++ commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/range/NumericRange.java
Wed Nov 13 16:38:00 2013
@@ -33,9 +33,9 @@ public abstract class NumericRange<T ext
 
     /**
      * Construct a new {@link NumericRange}.
-     * @param leftEndpoint
-     * @param rightEndpoint
-     * @param step
+     * @param leftEndpoint left endpoint
+     * @param rightEndpoint right endpoint
+     * @param step increment step
      */
     protected NumericRange(Endpoint<T> leftEndpoint, Endpoint<T> rightEndpoint,
T step) {
         super(leftEndpoint, rightEndpoint, step);



Mime
View raw message