Ignore:
Timestamp:
2024-02-12T23:01:03+01:00 (3 months ago)
Author:
taylor.smock
Message:

Fix #23465: Remove custom checkstyle plugin

TopLevelJavadocCheck.java is duplicating functionality from MissingJavadocType.
Our custom class is from #14794 (closed 2017-10-16). The check that makes it
redundant was added in checkstyle 8.20 (released 2019-04-28).

This adds the missing javadocs for the more comprehensive checkstyle version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r36176 r36208  
    1818    <property name="josm.test.build.dir"    location="../../core/test/build"/>
    1919    <property name="jmockit.jar"            location="../00_core_test_lib/jmockit.jar"/>
    20     <property name="checkstyle-build.dir"   location="../00_core_tools/checkstyle/build"/>
    2120    <property name="annotations.jar"        location="../00_core_tools/spotbugs/spotbugs-annotations.jar"/>
    2221    <property name="core.tools.ivy"         location="../00_core_tools/ivy.xml"/>
     
    411410        <delete dir="${plugin.build.dir}"/>
    412411        <delete dir="${plugin.doc.dir}"/>
    413         <delete dir="${checkstyle-build.dir}"/>
    414412        <delete file="${plugin.jar}"/>
    415413        <delete file="${plugin.sources.jar}"/>
     
    648646    </target>
    649647
    650     <target name="checkstyle-compile" depends="resolve-tools">
    651         <mkdir dir="${checkstyle-build.dir}"/>
    652         <javac sourcepath="" srcdir="../00_core_tools/checkstyle/src" failonerror="true"
    653             destdir="${checkstyle-build.dir}" release="${java.lang.version}" debug="on"
    654             includeantruntime="false" createMissingPackageInfoClass="false"
    655             encoding="UTF-8" classpathref="checkstyle.classpath">
    656         </javac>
    657     </target>
    658     <target name="checkstyle" depends="checkstyle-compile">
     648    <target name="checkstyle" depends="resolve-tools">
    659649        <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties">
    660650            <classpath refid="checkstyle.classpath"/>
    661             <classpath path="${checkstyle-build.dir}"/>
    662651        </taskdef>
    663652        <checkstyle config="${basedir}/../checkstyle-config.xml">
Note: See TracChangeset for help on using the changeset viewer.