mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
checkstyle updates
This commit is contained in:
@@ -968,7 +968,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
|||||||
* @param currentEx the primary exception collection
|
* @param currentEx the primary exception collection
|
||||||
* @param newEx the new exception collection to add
|
* @param newEx the new exception collection to add
|
||||||
* @return the combined exception collection
|
* @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 {
|
private ExceptionCollection handleAnalysisExceptions(ExceptionCollection currentEx, ExceptionCollection newEx) throws MojoExecutionException {
|
||||||
ExceptionCollection returnEx = currentEx;
|
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"
|
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());
|
+ "See the dependency-check report for more details.%n%n", ids.toString());
|
||||||
} else {
|
} else {
|
||||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '%.1f': "
|
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal "
|
||||||
+ "%n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
|
+ "to '%.1f': %n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities.%n%n"
|
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities.%n%n"
|
||||||
|
|||||||
@@ -453,13 +453,13 @@ public final class Settings {
|
|||||||
*/
|
*/
|
||||||
public static final String ENABLE_BATCH_UPDATES = "database.batchinsert.enabled";
|
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";
|
public static final String MAX_BATCH_SIZE = "database.batchinsert.maxsize";
|
||||||
/**
|
/**
|
||||||
* The key that specifies the class name of the H2 database shutdown hook.
|
* 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
|
* private constructor because this is a "utility" class containing
|
||||||
|
|||||||
Reference in New Issue
Block a user