maven-surefire git commit: [SUREFIRE-1413] Javadoc - unknown TAG @noinspection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

maven-surefire git commit: [SUREFIRE-1413] Javadoc - unknown TAG @noinspection

Tibor Digana
Repository: maven-surefire
Updated Branches:
  refs/heads/master b8eb67362 -> c8e42d05c


[SUREFIRE-1413] Javadoc - unknown TAG @noinspection


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/c8e42d05
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/c8e42d05
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/c8e42d05

Branch: refs/heads/master
Commit: c8e42d05c8fb0a5b3ac8b14d33cac7ac196bbd60
Parents: b8eb673
Author: Tibor17 <[hidden email]>
Authored: Mon Sep 11 03:16:22 2017 +0200
Committer: Tibor17 <[hidden email]>
Committed: Mon Sep 11 03:16:22 2017 +0200

----------------------------------------------------------------------
 .../org/apache/maven/plugin/failsafe/VerifyMojo.java  |  5 -----
 .../surefire/report/AbstractSurefireReportMojo.java   | 14 --------------
 .../plugins/surefire/report/FailsafeReportMojo.java   |  8 +-------
 .../plugins/surefire/report/SurefireReportMojo.java   |  6 ------
 .../booter/DirectoryScannerParametersAware.java       |  1 -
 .../surefire/booter/ProviderPropertiesAware.java      |  1 -
 .../surefire/booter/ReporterConfigurationAware.java   |  1 -
 .../surefire/booter/RunOrderParametersAware.java      |  1 -
 .../surefire/booter/SurefireClassLoadersAware.java    |  1 -
 .../maven/surefire/booter/SurefireReflector.java      |  4 ----
 .../maven/surefire/booter/TestArtifactInfoAware.java  |  1 -
 .../maven/surefire/booter/TestRequestAware.java       |  1 -
 .../java/org/apache/maven/surefire/booter/Foo.java    |  3 +--
 .../surefire/common/junit3/JUnit3TestCheckerTest.java |  6 ------
 14 files changed, 2 insertions(+), 51 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
----------------------------------------------------------------------
diff --git a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
index 3075a6f..b96acb1 100644
--- a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
+++ b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/VerifyMojo.java
@@ -119,16 +119,12 @@ public class VerifyMojo
 
     /**
      * The summary file to read integration test results from.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "${project.build.directory}/failsafe-reports/failsafe-summary.xml", required = true )
     private File summaryFile;
 
     /**
      * Additional summary files to read integration test results from.
-     *
-     * @noinspection UnusedDeclaration, MismatchedReadAndWriteOfArray
      * @since 2.6
      */
     @Parameter
@@ -147,7 +143,6 @@ public class VerifyMojo
      * Deprecated since 2.20.1 and used encoding UTF-8 in <tt>failsafe-summary.xml</tt>.
      *
      * @deprecated since of 2.20.1
-     * @noinspection UnusedDeclaration
      */
     @Parameter( property = "encoding", defaultValue = "${project.reporting.outputEncoding}" )
     private String encoding;

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
----------------------------------------------------------------------
diff --git a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
index a3538b7..ab27b18 100644
--- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
+++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java
@@ -48,16 +48,12 @@ public abstract class AbstractSurefireReportMojo
 
     /**
      * If set to false, only failures are shown.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "true", required = true, property = "showSuccess" )
     private boolean showSuccess;
 
     /**
      * Directories containing the XML Report files that will be parsed and rendered to HTML format.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter
     private File[] reportsDirectories;
@@ -65,8 +61,6 @@ public abstract class AbstractSurefireReportMojo
     /**
      * (Deprecated, use reportsDirectories) This directory contains the XML Report files that will be parsed and
      * rendered to HTML format.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Deprecated
     @Parameter
@@ -74,32 +68,24 @@ public abstract class AbstractSurefireReportMojo
 
     /**
      * The projects in the reactor for aggregation report.
-     *
-     * @noinspection MismatchedQueryAndUpdateOfCollection, UnusedDeclaration
      */
     @Parameter( defaultValue = "${reactorProjects}", readonly = true )
     private List<MavenProject> reactorProjects;
 
     /**
      * Location of the Xrefs to link.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "${project.reporting.outputDirectory}/xref-test" )
     private File xrefLocation;
 
     /**
      * Whether to link the XRef if found.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "true", property = "linkXRef" )
     private boolean linkXRef;
 
     /**
      * Whether to build an aggregated report at the root, or build individual reports.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "false", property = "aggregate" )
     private boolean aggregate;

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/FailsafeReportMojo.java
----------------------------------------------------------------------
diff --git a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/FailsafeReportMojo.java b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/FailsafeReportMojo.java
index c306305..c8fca02 100644
--- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/FailsafeReportMojo.java
+++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/FailsafeReportMojo.java
@@ -43,17 +43,13 @@ public class FailsafeReportMojo
 
     /**
      * The filename to use for the report.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "failsafe-report", property = "outputName", required = true )
     private String outputName;
 
     /**
      * If set to true the failsafe report will be generated even when there are no failsafe result files.
-     * Defaults to {@code false} to preserve legacy behaviour pre 2.10
-     *
-     * @noinspection UnusedDeclaration
+     * Defaults to {@code false} to preserve legacy behaviour pre 2.10.
      * @since 2.11
      */
     @Parameter( defaultValue = "false", property = "alwaysGenerateFailsafeReport" )
@@ -61,8 +57,6 @@ public class FailsafeReportMojo
 
     /**
      * If set to true the failsafe report generation will be skipped.
-     *
-     * @noinspection UnusedDeclaration
      * @since 2.11
      */
     @Parameter( defaultValue = "false", property = "skipFailsafeReport" )

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
----------------------------------------------------------------------
diff --git a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
index e535a24..906feb9 100644
--- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
+++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
@@ -40,8 +40,6 @@ public class SurefireReportMojo
 
     /**
      * The filename to use for the report.
-     *
-     * @noinspection UnusedDeclaration
      */
     @Parameter( defaultValue = "surefire-report", property = "outputName", required = true )
     private String outputName;
@@ -49,8 +47,6 @@ public class SurefireReportMojo
     /**
      * If set to true the surefire report will be generated even when there are no surefire result files.
      * Defaults to {@code true} to preserve legacy behaviour pre 2.10.
-     *
-     * @noinspection UnusedDeclaration
      * @since 2.11
      */
     @Parameter( defaultValue = "true", property = "alwaysGenerateSurefireReport" )
@@ -58,8 +54,6 @@ public class SurefireReportMojo
 
     /**
      * If set to true the surefire report generation will be skipped.
-     *
-     * @noinspection UnusedDeclaration
      * @since 2.11
      */
     @Parameter( defaultValue = "false", property = "skipSurefireReport" )

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/DirectoryScannerParametersAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/DirectoryScannerParametersAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/DirectoryScannerParametersAware.java
index 54ff6ca..cefeb33 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/DirectoryScannerParametersAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/DirectoryScannerParametersAware.java
@@ -23,7 +23,6 @@ import org.apache.maven.surefire.testset.DirectoryScannerParameters;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface DirectoryScannerParametersAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/ProviderPropertiesAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/ProviderPropertiesAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/ProviderPropertiesAware.java
index 373e925..caedb98 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/ProviderPropertiesAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/ProviderPropertiesAware.java
@@ -23,7 +23,6 @@ import java.util.Map;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface ProviderPropertiesAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/ReporterConfigurationAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/ReporterConfigurationAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/ReporterConfigurationAware.java
index 0359636..8c65be3 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/ReporterConfigurationAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/ReporterConfigurationAware.java
@@ -23,7 +23,6 @@ import org.apache.maven.surefire.report.ReporterConfiguration;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface ReporterConfigurationAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/RunOrderParametersAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/RunOrderParametersAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/RunOrderParametersAware.java
index 370c6a6..3bee07d 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/RunOrderParametersAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/RunOrderParametersAware.java
@@ -23,7 +23,6 @@ import org.apache.maven.surefire.testset.RunOrderParameters;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface RunOrderParametersAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireClassLoadersAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireClassLoadersAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireClassLoadersAware.java
index 351bb51..c2f5d99 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireClassLoadersAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireClassLoadersAware.java
@@ -21,7 +21,6 @@ package org.apache.maven.surefire.booter;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface SurefireClassLoadersAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireReflector.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireReflector.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireReflector.java
index 4c88179..097a3fa 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireReflector.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/SurefireReflector.java
@@ -152,9 +152,6 @@ public class SurefireReflector
 
     }
 
-    /**
-     * @noinspection UnusedDeclaration
-     */
     class ClassLoaderProxy
         implements InvocationHandler
     {
@@ -162,7 +159,6 @@ public class SurefireReflector
 
         /**
          * @param delegate a target
-         * @noinspection UnusedDeclaration
          */
         public ClassLoaderProxy( Object delegate )
         {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestArtifactInfoAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestArtifactInfoAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestArtifactInfoAware.java
index 2b7065e..9898061 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestArtifactInfoAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestArtifactInfoAware.java
@@ -23,7 +23,6 @@ import org.apache.maven.surefire.testset.TestArtifactInfo;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface TestArtifactInfoAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestRequestAware.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestRequestAware.java b/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestRequestAware.java
index d2d6d29..3e98b92 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestRequestAware.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/booter/TestRequestAware.java
@@ -23,7 +23,6 @@ import org.apache.maven.surefire.testset.TestRequest;
 
 /**
  * @author Kristian Rosenvold
- * @noinspection UnusedDeclaration
  */
 interface TestRequestAware
 {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-booter/src/test/java/org/apache/maven/surefire/booter/Foo.java
----------------------------------------------------------------------
diff --git a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/Foo.java b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/Foo.java
index 911c969..ccb01e3 100644
--- a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/Foo.java
+++ b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/Foo.java
@@ -61,8 +61,7 @@ public class Foo
 
 
     /**
-     * @return true if it has been callsed
-     * @noinspection UnusedDeclaration
+     * @return true if it has been called
      */
     public Boolean isCalled()
     {

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c8e42d05/surefire-providers/common-junit3/src/test/java/org/apache/maven/surefire/common/junit3/JUnit3TestCheckerTest.java
----------------------------------------------------------------------
diff --git a/surefire-providers/common-junit3/src/test/java/org/apache/maven/surefire/common/junit3/JUnit3TestCheckerTest.java b/surefire-providers/common-junit3/src/test/java/org/apache/maven/surefire/common/junit3/JUnit3TestCheckerTest.java
index e0ae2e7..2397e8b 100644
--- a/surefire-providers/common-junit3/src/test/java/org/apache/maven/surefire/common/junit3/JUnit3TestCheckerTest.java
+++ b/surefire-providers/common-junit3/src/test/java/org/apache/maven/surefire/common/junit3/JUnit3TestCheckerTest.java
@@ -121,9 +121,6 @@ public class JUnit3TestCheckerTest
 
     public static class NotValidTest
     {
-        /**
-         * @noinspection UnusedDeclaration
-         */
         public void testSomething()
         {
         }
@@ -132,9 +129,6 @@ public class JUnit3TestCheckerTest
     public abstract static class BaseClassWithTest
         extends TestCase
     {
-        /**
-         * @noinspection UnusedDeclaration
-         */
         public void testWeAreAlsoATest()
         {
         }