Minor spelling fixes

This commit is contained in:
Suhan Dharmasuriya
2017-02-07 12:00:17 +05:30
parent 0e0a4bb0b4
commit 780201845b
7 changed files with 10 additions and 10 deletions

View File

@@ -998,7 +998,7 @@ public class DependencyCheckScanAgent {
}
if (ids.length() > 0) {
final String msg = String.format("%n%nDependency-Check Failure:%n"
+ "One or more dependencies were identified with vulnerabilities that have a CVSS score greater then '%.1f': %s%n"
+ "One or more dependencies were identified with vulnerabilities that have a CVSS score greater than '%.1f': %s%n"
+ "See the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
throw new ScanAgentException(msg);

View File

@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Checks the gh-pages dependency-check site to determine the current released
* version number. If the released version number is greater then the running
* version number. If the released version number is greater than the running
* version number a warning is printed recommending that an upgrade be
* performed.
*

View File

@@ -280,9 +280,9 @@ public class Evidence implements Serializable, Comparable<Evidence> {
if (me == null && other == null) {
return 0;
} else if (me == null) {
return -1; //the other string is greater then me
return -1; //the other string is greater than me
} else if (other == null) {
return 1; //me is greater then the other string
return 1; //me is greater than the other string
}
return me.compareToIgnoreCase(other);
}