diff --git a/pom.xml b/pom.xml index 4e388d8e4..027c5089c 100755 --- a/pom.xml +++ b/pom.xml @@ -486,10 +486,22 @@ org.apache.maven.plugins maven-linkcheck-plugin - 1.1 + 1.2 - **/apidocs/* - 401 + + dependencies.html + + + **apidocs/* + reports/google-style/guava + reports/javadoc/openjdk8 + https://travis-ci.org/checkstyle/checkstyle + https://coveralls.io/r/checkstyle/checkstyle + http://search.maven.org/* + + + 401 + @@ -538,12 +550,23 @@ org.apache.maven.plugins maven-linkcheck-plugin - 1.1 - diff --git a/src/xdocs/availablechecks.xml b/src/xdocs/availablechecks.xml index e3cabfe3a..9e1bedf39 100644 --- a/src/xdocs/availablechecks.xml +++ b/src/xdocs/availablechecks.xml @@ -90,14 +90,14 @@ The number of other classes a given class relies on. - ClassTypeParameterName + ClassTypeParameterName Checks that class type parameter names conform to a format specified by the format property. - ConstantName + ConstantName Checks that constant names conform to a format specified by the format property. @@ -310,7 +310,7 @@ Use Interfaces only to define types. - InterfaceTypeParameterName + InterfaceTypeParameterName Checks that interface type parameter names conform to a format specified by the format property. @@ -365,7 +365,7 @@ Checks for long lines. - LocalFinalVariableName + LocalFinalVariableName Checks that local final variable names conform to a format specified by the format property. @@ -382,7 +382,7 @@ Checks for magic numbers. - MemberName + MemberName Checks that instance variable names conform to a format specified by the format property. @@ -410,7 +410,7 @@ and the left parenthesis of the parameter list. - MethodTypeParameterName + MethodTypeParameterName Checks that class type parameter names conform to a format specified by the format property. @@ -554,7 +554,7 @@ Ensures there is a package declaration and (optionally) in the correct directory. - PackageName + PackageName Checks that package names conform to a format specified by the format property. @@ -565,7 +565,7 @@ Disallow assignment of parameters. - ParameterName + ParameterName Checks that parameter names conform to a format specified by the format property. @@ -655,7 +655,7 @@ Checks for overly complicated boolean return statements. - StaticVariableName + StaticVariableName Checks that static, non-final variable names conform to a format specified by the format property. diff --git a/src/xdocs/config_coding.xml b/src/xdocs/config_coding.xml index 42ab2a556..0f1df930c 100644 --- a/src/xdocs/config_coding.xml +++ b/src/xdocs/config_coding.xml @@ -102,7 +102,7 @@ String b = (a==null || a.length<1) ? null : a.substring(1);

Checks that classes that define a covariant equals() method also override method equals(java.lang.Object). Inspired by findbugs. + href="http://www.cs.nyu.edu/~lharris/papers/findbugsPaper.pdf">findbugs.

@@ -1450,7 +1450,7 @@ if ("something".equals(x))

Reference: Object.clone(). + href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#clone%28%29">Object.clone().

@@ -1485,8 +1485,8 @@ if ("something".equals(x))

Reference: Cleaning - Up Unused Objects. + href="http://www.oracle.com/technetwork/java/javamail/finalization-137655.html"> + Use Finalization Only When You Must.

diff --git a/src/xdocs/config_imports.xml b/src/xdocs/config_imports.xml index def307c69..acbba0d4f 100644 --- a/src/xdocs/config_imports.xml +++ b/src/xdocs/config_imports.xml @@ -48,7 +48,7 @@ whether to allow starred class imports like import java.util.*;. - Boolean + Boolean false @@ -57,7 +57,7 @@ whether to allow starred static member imports like import static org.junit.Assert.*; - Boolean + Boolean false diff --git a/src/xdocs/config_misc.xml b/src/xdocs/config_misc.xml index 847188ca5..a42622285 100755 --- a/src/xdocs/config_misc.xml +++ b/src/xdocs/config_misc.xml @@ -97,7 +97,7 @@

A check for TODO: comments. Actually it is a generic regular + href="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html">regular expression matcher on Java comments. To check for other patterns in Java comments, set the format property.

@@ -1012,7 +1012,7 @@ d = e / f; // Another comment for this line Note: Not all regular expression engines are created equal. Some provide extra functions that others do not and some elements of the syntax may vary. This check makes use of the + href="https://docs.oracle.com/javase/7/docs/api/java/util/regex/package-summary.html"> java.util.regex package; please check its documentation for details of how to construct a regular expression to achieve a particular goal. @@ -1197,7 +1197,7 @@ d = e / f; // Another comment for this line

To use like RegexpHeader + href="config_header.html#RegexpHeader">RegexpHeader :

diff --git a/src/xdocs/config_naming.xml b/src/xdocs/config_naming.xml index b025c59d9..02e5e22fb 100644 --- a/src/xdocs/config_naming.xml +++ b/src/xdocs/config_naming.xml @@ -44,17 +44,17 @@ default value of format - AbstractClassName + AbstractClassName abstract classes ^Abstract.*$|^.*Factory$ - ClassTypeParameterName + ClassTypeParameterName class type parameters ^[A-Z]$ - ConstantName + ConstantName constants (static, final fields) @@ -62,13 +62,13 @@ ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$ - LocalFinalVariableName + LocalFinalVariableName local, final variables, including catch parameters ^[a-z][a-zA-Z0-9]*$ - LocalVariableName + LocalVariableName local, non-final variables, including catch parameters @@ -76,46 +76,46 @@ ^[a-z][a-zA-Z0-9]*$ - MemberName + MemberName non-static fields ^[a-z][a-zA-Z0-9]*$ - MethodName + MethodName methods ^[a-z][a-zA-Z0-9]*$ - MethodTypeParameterName + MethodTypeParameterName method type parameters ^[A-Z]$ - InterfaceTypeParameterName + InterfaceTypeParameterName interface type parameters ^[A-Z]$ - PackageName + PackageName packages ^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_]*)*$ - ParameterName + ParameterName parameters ^[a-z][a-zA-Z0-9]*$ - StaticVariableName + StaticVariableName static, non-final fields ^[a-z][a-zA-Z0-9]*$ - TypeName + TypeName classes, interfaces, enums, and annotations ^[A-Z][a-zA-Z0-9]*$ @@ -371,7 +371,7 @@ class MyClass { allowedAbbreviations list of abbreviations that must be skipped for checking. Abbreviations should be separated by comma, no spaces are allowed. - stringSet + stringSet null diff --git a/src/xdocs/releasenotes.xml b/src/xdocs/releasenotes.xml index e5f4d02f8..5009d0bcc 100644 --- a/src/xdocs/releasenotes.xml +++ b/src/xdocs/releasenotes.xml @@ -776,8 +776,8 @@

  • NoFinalizer
  • AvoidStaticImport
  • JavadocPackage
  • -
  • ClassTypeParameterName
  • -
  • MethodTypeParameterName
  • +
  • ClassTypeParameterName
  • +
  • MethodTypeParameterName
  • RegexpMultiline
  • RegexpSingleline
  • RegexpSinglelineJava
  • @@ -917,7 +917,7 @@
  • Add new options to the ImportOrderCheck + href="config_imports.html#ImportOrder">ImportOrderCheck to make it more flexible. Thanks to David Didier for providing patch #1854213.
  • @@ -1058,9 +1058,9 @@ Schneeberger for providing patch #1947417.
  • - New checks + New checks ClassTypeParameterName and - + MethodTypeParameterName for type name formats. Thanks to Travis Schneeberger for providing patch #1956561.