Skip to content

Commit

Permalink
Fix build after checkstyle imports updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Oct 25, 2018
1 parent 755c4b8 commit 8376bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
package org.springframework.boot.gradle.plugin;

import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;

import io.spring.gradle.dependencymanagement.DependencyManagementPlugin;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.gradle.api.Project;
import org.gradle.api.artifacts.ModuleVersionSelector;
import org.gradle.api.artifacts.UnresolvedDependency;
import org.slf4j.LoggerFactory;

/**
* An analyzer for {@link UnresolvedDependency unresolvable dependencies} that logs a
Expand All @@ -35,8 +35,7 @@
*/
class UnresolvedDependenciesAnalyzer {

private static final org.slf4j.Logger logger = LoggerFactory
.getLogger(SpringBootPlugin.class);
private static final Log logger = LogFactory.getLog(SpringBootPlugin.class);

private Set<ModuleVersionSelector> dependenciesWithNoVersion = new HashSet<>();

Expand Down
1 change: 1 addition & 0 deletions src/checkstyle/checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@
<suppress files="SpringBootJoranConfiguratorTests\.java" checks="IllegalImport" />
<suppress files="EmbeddedMongoAutoConfiguration\.java" checks="IllegalImport" />
<suppress files="LogbackMetricsAutoConfiguration\.java" checks="IllegalImport" />
<suppress files="RemoteUrlPropertyExtractorTests\.java" checks="IllegalImport" />
</suppressions>

0 comments on commit 8376bc3

Please sign in to comment.