Bump compiler source and target from 1.5 to 1.8
- Updates for commons-parent 58
- Javadoc
diff --git a/api/src/main/java/org/apache/commons/functor/Functor.java b/api/src/main/java/org/apache/commons/functor/Functor.java
index 5cbf938..b01b5af 100644
--- a/api/src/main/java/org/apache/commons/functor/Functor.java
+++ b/api/src/main/java/org/apache/commons/functor/Functor.java
@@ -21,13 +21,13 @@
* <p>
* While not strictly required,
* it is <em>encouraged</em> that functor implementations:
+ * </p>
* <ul>
* <li>Implement {@link java.io.Serializable Serializable}</li>
* <li>Override {@link java.lang.Object#equals(java.lang.Object)}</li>
* <li>Override {@link java.lang.Object#hashCode()}</li>
* <li>Override {@link java.lang.Object#toString()}</li>
* </ul>
- * </p>
*
* @since 1.0
*/
diff --git a/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml b/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
index 0ea010a..aac9d2c 100644
--- a/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
+++ b/build-tools/src/main/resources/org/apache/commons/functor/checkstyle.xml
@@ -65,6 +65,12 @@
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<module name="NewlineAtEndOfFile"/>
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
+
<!-- Checks that property files contain the same keys. -->
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
<module name="Translation"/>
@@ -86,13 +92,6 @@
<module name="TreeWalker">
- <property name="cacheFile" value="${checkstyle.cache.file}"/>
-
- <!-- Checks for Javadoc comments. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html -->
- <module name="JavadocMethod">
- <property name="allowUndeclaredRTE" value="true"/>
- </module>
<module name="JavadocType"/>
<module name="JavadocVariable"/>
<module name="JavadocStyle"/>
@@ -134,11 +133,6 @@
<module name="UnusedImports"/>
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
<module name="MethodLength"/>
<module name="ParameterNumber"/>
@@ -174,7 +168,6 @@
<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="AvoidInlineConditionals"/>
- <module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE -->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="HiddenField"/>
@@ -182,7 +175,6 @@
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
- <module name="RedundantThrows"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
diff --git a/pom.xml b/pom.xml
index 727dae6..694623e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -135,8 +135,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
<commons.componentid>functor</commons.componentid>
<commons.module.name>org.apache.commons.functor</commons.module.name>
<commons.release.version>1.0</commons.release.version>
@@ -220,9 +220,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <targetJdk>1.5</targetJdk>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0ecc857..4df778e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -96,6 +96,9 @@
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump commons-parent from 53 to 58.
</action>
+ <action dev="ggregory" type="update" due-to="Gary Gregory">
+ Bump compiler source and target from 1.5 to 1.8.
+ </action>
</release>
</body>
</document>