This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-functor.git
The following commit(s) were added to refs/heads/master by this push: new 614b5bf Bump compiler source and target from 1.5 to 1.8 614b5bf is described below commit 614b5bfe379999f04a8bd2f3eaae27e714b07aca Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu May 25 12:28:19 2023 -0400 Bump compiler source and target from 1.5 to 1.8 - Updates for commons-parent 58 - Javadoc --- .../java/org/apache/commons/functor/Functor.java | 2 +- .../org/apache/commons/functor/checkstyle.xml | 20 ++++++-------------- pom.xml | 7 ++----- src/changes/changes.xml | 3 +++ 4 files changed, 12 insertions(+), 20 deletions(-) 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 @@ package org.apache.commons.functor; * <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>