forked from phoedos/pmd
Fix javadoc warnings
This commit is contained in:
parent
b2d98f0a84
commit
fcfee1969e
@ -19,7 +19,7 @@ import net.sourceforge.pmd.util.CollectionUtil;
|
||||
*
|
||||
* ClassOrInterfaceDeclaration ::=
|
||||
* ( "class" | "interface" )
|
||||
* <IDENTIFIER>
|
||||
* <IDENTIFIER>
|
||||
* [ TypeParameters ]
|
||||
* [ ExtendsList ]
|
||||
* [ ImplementsList ]
|
||||
|
@ -25,7 +25,7 @@ import net.sourceforge.pmd.lang.java.symboltable.JavaNameOccurrence;
|
||||
*
|
||||
* <pre>
|
||||
* private boolean checkTrimEmpty(String str) {
|
||||
* for(int i = 0; i < str.length(); i++) {
|
||||
* for(int i = 0; i < str.length(); i++) {
|
||||
* if(!Character.isWhitespace(str.charAt(i))) {
|
||||
* return false;
|
||||
* }
|
||||
|
@ -167,8 +167,8 @@ public abstract class JavaTypeDefinition implements TypeDefinition {
|
||||
* @param numDimensions Number of dimensions added to this type in
|
||||
* the resulting array type
|
||||
*
|
||||
* @throws IllegalArgumentException if numDimensions < 0
|
||||
* @return A new type definition, or this if numDimensions == 0
|
||||
* @throws IllegalArgumentException if numDimensions < 0
|
||||
*/
|
||||
// @formatter:on
|
||||
public abstract JavaTypeDefinition withDimensions(int numDimensions);
|
||||
|
@ -39,7 +39,7 @@ public final class TypeInferenceResolver {
|
||||
List<Bound> newBounds = new ArrayList<>();
|
||||
while (!constraints.isEmpty()) {
|
||||
List<BoundOrConstraint> reduceResult = constraints.remove(constraints.size() - 1).reduce();
|
||||
|
||||
|
||||
// If null, the types are incompatible
|
||||
if (reduceResult == null) {
|
||||
return null;
|
||||
@ -384,7 +384,7 @@ public final class TypeInferenceResolver {
|
||||
|
||||
|
||||
/**
|
||||
* @return A map of variable -> proper type produced by searching for α = T or T = α bounds
|
||||
* @return A map of variable -> proper type produced by searching for α = T or T = α bounds
|
||||
*/
|
||||
public static Map<Variable, JavaTypeDefinition> getInstantiations(List<Bound> bounds) {
|
||||
Map<Variable, JavaTypeDefinition> result = new HashMap<>();
|
||||
|
5
pom.xml
5
pom.xml
@ -265,7 +265,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
|
||||
<checkstyle.version>3.0.0</checkstyle.version>
|
||||
<pmd.plugin.version>3.10.0</pmd.plugin.version>
|
||||
<ant.version>1.10.1</ant.version>
|
||||
<javadoc.plugin.version>3.0.0-M1</javadoc.plugin.version>
|
||||
<javadoc.plugin.version>3.0.1</javadoc.plugin.version>
|
||||
<antlr.version>4.7</antlr.version>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -395,6 +395,9 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
|
||||
<configuration>
|
||||
<quiet>true</quiet>
|
||||
<doclint>none</doclint>
|
||||
<additionalJOptions>
|
||||
<additionalJOption>-html5</additionalJOption>
|
||||
</additionalJOptions>
|
||||
<additionalDependencies>
|
||||
<!-- TODO: this is only needed to make javadoc happy -->
|
||||
<additionalDependency>
|
||||
|
Loading…
x
Reference in New Issue
Block a user