mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
Fix typos
This commit is contained in:
@@ -126,7 +126,7 @@ public class Purge extends Task {
|
||||
log(msg, Project.MSG_ERR);
|
||||
}
|
||||
} else {
|
||||
final String msg = String.format("Unable to purge database; the database file does not exists: %s", db.getAbsolutePath());
|
||||
final String msg = String.format("Unable to purge database; the database file does not exist: %s", db.getAbsolutePath());
|
||||
if (this.failOnError) {
|
||||
throw new BuildException(msg);
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class App {
|
||||
exitCode = -5;
|
||||
}
|
||||
} else {
|
||||
LOGGER.error("Unable to purge database; the database file does not exists: {}", db.getAbsolutePath());
|
||||
LOGGER.error("Unable to purge database; the database file does not exist: {}", db.getAbsolutePath());
|
||||
exitCode = -6;
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
|
||||
@@ -179,7 +179,7 @@ public abstract class AbstractSuppressionAnalyzer extends AbstractAnalyzer {
|
||||
}
|
||||
if (file != null) {
|
||||
if (!file.exists()) {
|
||||
final String msg = String.format("Suppression file '%s' does not exists", file.getPath());
|
||||
final String msg = String.format("Suppression file '%s' does not exist", file.getPath());
|
||||
LOGGER.warn(msg);
|
||||
throw new SuppressionParseException(msg);
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public class PurgeMojo extends BaseDependencyCheckMojo {
|
||||
getLog().error(msg);
|
||||
}
|
||||
} else {
|
||||
final String msg = String.format("Unable to purge database; the database file does not exists: %s", db.getAbsolutePath());
|
||||
final String msg = String.format("Unable to purge database; the database file does not exist: %s", db.getAbsolutePath());
|
||||
if (this.isFailOnError()) {
|
||||
throw new MojoFailureException(msg);
|
||||
}
|
||||
|
||||
@@ -922,7 +922,7 @@ public final class Settings {
|
||||
* Returns a connection string from the configured properties. If the
|
||||
* connection string contains a %s, this method will determine the 'data'
|
||||
* directory and replace the %s with the path to the data directory. If the
|
||||
* data directory does not exists it will be created.
|
||||
* data directory does not exist it will be created.
|
||||
*
|
||||
* @param connectionStringKey the property file key for the connection
|
||||
* string
|
||||
|
||||
Reference in New Issue
Block a user