Merge pull request #919 from stefanneuhaus/fix-typos

Fix typos
This commit is contained in:
Jeremy Long
2017-10-08 16:07:21 -04:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -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);
}

View File

@@ -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) {

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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