checkstyle updates

This commit is contained in:
Jeremy Long
2018-01-02 06:17:58 -05:00
parent 30622f9c4a
commit b86fa133c5
2 changed files with 5 additions and 5 deletions

View File

@@ -968,7 +968,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
* @param currentEx the primary exception collection
* @param newEx the new exception collection to add
* @return the combined exception collection
* @throws MojoExecutionException
* @throws MojoExecutionException thrown if dependency-check is configured to fail on errors
*/
private ExceptionCollection handleAnalysisExceptions(ExceptionCollection currentEx, ExceptionCollection newEx) throws MojoExecutionException {
ExceptionCollection returnEx = currentEx;
@@ -1365,8 +1365,8 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities: %n%s%n%n"
+ "See the dependency-check report for more details.%n%n", ids.toString());
} else {
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '%.1f': "
+ "%n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal "
+ "to '%.1f': %n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
}
} else {
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities.%n%n"

View File

@@ -453,13 +453,13 @@ public final class Settings {
*/
public static final String ENABLE_BATCH_UPDATES = "database.batchinsert.enabled";
/**
* Size of database batch inserts
* Size of database batch inserts.
*/
public static final String MAX_BATCH_SIZE = "database.batchinsert.maxsize";
/**
* The key that specifies the class name of the H2 database shutdown hook.
*/
public static String H2DB_SHUTDOWN_HOOK = "data.h2.shutdownhook";
public static final String H2DB_SHUTDOWN_HOOK = "data.h2.shutdownhook";
/**
* private constructor because this is a "utility" class containing