Fix Java 8 Javadoc compatibility
Update Javadocs to fix errors caused by Java 8 aggressive linting. Fixes gh-2233
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014 the original author or authors.
|
||||
* Copyright 2014-2015 the original author or authors.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@@ -38,6 +38,7 @@ public abstract class DependencyFilter extends AbstractArtifactsFilter {
|
||||
/**
|
||||
* Create a new instance with the list of {@link FilterableDependency} instance(s) to
|
||||
* use.
|
||||
* @param dependencies the source dependencies
|
||||
*/
|
||||
public DependencyFilter(List<? extends FilterableDependency> dependencies) {
|
||||
this.filters = dependencies;
|
||||
@@ -61,6 +62,9 @@ public abstract class DependencyFilter extends AbstractArtifactsFilter {
|
||||
* Check if the specified {@link org.apache.maven.artifact.Artifact} matches the
|
||||
* specified {@link org.springframework.boot.maven.FilterableDependency}. Returns
|
||||
* {@code true} if it should be excluded
|
||||
* @param artifact the Maven {@link Artifact}
|
||||
* @param dependency the {@link FilterableDependency}
|
||||
* @return {@code true} if the artifact matches the dependency
|
||||
*/
|
||||
protected final boolean equals(Artifact artifact, FilterableDependency dependency) {
|
||||
if (!dependency.getGroupId().equals(artifact.getGroupId())) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,8 +21,7 @@ import java.util.List;
|
||||
import org.apache.maven.artifact.Artifact;
|
||||
|
||||
/**
|
||||
* An {@ArtifactsFilter} that filters out any artifact matching an
|
||||
* {@link Exclude}.
|
||||
* An {DependencyFilter} that filters out any artifact matching an {@link Exclude}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author David Turanski
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -34,6 +34,7 @@ public class MatchingGroupIdFilter extends AbstractArtifactFeatureFilter {
|
||||
|
||||
/**
|
||||
* Create a new instance with the CSV groupId values that should be excluded.
|
||||
* @param exclude the group values to exclude
|
||||
*/
|
||||
public MatchingGroupIdFilter(String exclude) {
|
||||
super("", exclude);
|
||||
|
||||
Reference in New Issue
Block a user