spelling fixes

This commit is contained in:
klemens
2017-11-07 21:45:36 +01:00
parent 8ab6b77b56
commit 4776a542a7
6 changed files with 9 additions and 9 deletions

View File

@@ -133,7 +133,7 @@ public class EscapeTool {
* for display in a CSV. * for display in a CSV.
* *
* @param ids the set of identifiers * @param ids the set of identifiers
* @return the formated list of none CPE identifiers * @return the formatted list of none CPE identifiers
*/ */
public String csvIdentifiers(Set<Identifier> ids) { public String csvIdentifiers(Set<Identifier> ids) {
if (ids == null || ids.isEmpty()) { if (ids == null || ids.isEmpty()) {
@@ -159,7 +159,7 @@ public class EscapeTool {
* for display in a CSV. * for display in a CSV.
* *
* @param ids the set of identifiers * @param ids the set of identifiers
* @return the formated list of CPE identifiers * @return the formatted list of CPE identifiers
*/ */
public String csvCpe(Set<Identifier> ids) { public String csvCpe(Set<Identifier> ids) {
if (ids == null || ids.isEmpty()) { if (ids == null || ids.isEmpty()) {
@@ -185,7 +185,7 @@ public class EscapeTool {
* for confidence display in a CSV. * for confidence display in a CSV.
* *
* @param ids the set of identifiers * @param ids the set of identifiers
* @return the formated list of confidence * @return the formatted list of confidence
*/ */
public String csvCpeConfidence(Set<Identifier> ids) { public String csvCpeConfidence(Set<Identifier> ids) {
if (ids == null || ids.isEmpty()) { if (ids == null || ids.isEmpty()) {
@@ -211,7 +211,7 @@ public class EscapeTool {
* for display in a CSV. * for display in a CSV.
* *
* @param ids the set of identifiers * @param ids the set of identifiers
* @return the formated list of GAV identifiers * @return the formatted list of GAV identifiers
*/ */
public String csvGav(Set<Identifier> ids) { public String csvGav(Set<Identifier> ids) {
if (ids == null || ids.isEmpty()) { if (ids == null || ids.isEmpty()) {

View File

@@ -28,7 +28,7 @@ import org.owasp.dependencycheck.dependency.Evidence;
* work for a range of similar false positives/false negatives. * work for a range of similar false positives/false negatives.
* *
* The EvidenceMatcher is used for processing Evidences of a project's * The EvidenceMatcher is used for processing Evidences of a project's
* dependencies in conjuction with the {@code <given>} and {@code <remove>} * dependencies in conjunction with the {@code <given>} and {@code <remove>}
* clauses of the hints file. * clauses of the hints file.
* *
* @author Hans Aikema * @author Hans Aikema

View File

@@ -48,7 +48,7 @@ public class EngineVersionCheckTest extends BaseTest {
* @return milliseconds * @return milliseconds
*/ */
private long dateToMilliseconds(String date) { private long dateToMilliseconds(String date) {
//removed for compatability with joda-time 1.6 //removed for compatibility with joda-time 1.6
//DateTimeFormatter dtf = DateTimeFormat.forPattern("yyyy-MM-dd"); //DateTimeFormatter dtf = DateTimeFormat.forPattern("yyyy-MM-dd");
//return DateTime.parse(date, dtf).toInstant().getMillis(); //return DateTime.parse(date, dtf).toInstant().getMillis();
String[] dp = date.split("-"); String[] dp = date.split("-");

View File

@@ -937,7 +937,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
if (this.isFailOnError()) { if (this.isFailOnError()) {
throw new MojoExecutionException("One or more exceptions occurred during dependency-check analysis", exCol); throw new MojoExecutionException("One or more exceptions occurred during dependency-check analysis", exCol);
} else { } else {
getLog().debug("Error writting the report", ex); getLog().debug("Error writing the report", ex);
} }
} }
showSummary(this.getProject(), engine.getDependencies()); showSummary(this.getProject(), engine.getDependencies());

View File

@@ -78,7 +78,7 @@ $CLI_SCRIPT --cveUrl20Base $NVD/nvdcve-2.0-%d.xml.gz \
``` ```
The script takes advantage of the `date` command's ability to parse a variety The script takes advantage of the `date` command's ability to parse a variety
of date formats. The following invokation would successfully point to the of date formats. The following invocation would successfully point to the
`~/NVD/2015-08-03` folder. `~/NVD/2015-08-03` folder.
$ ./dep-check-date.sh ~/NVD "08/03/2015" -app Foo -scan /path/to/Foo --out ~/DCreports/FooFollowup/ $ ./dep-check-date.sh ~/NVD "08/03/2015" -app Foo -scan /path/to/Foo --out ~/DCreports/FooFollowup/

View File

@@ -13,7 +13,7 @@ pair of international file system standards published by
and ISO/IEC 13346, a.k.a. [UDF](https://en.wikipedia.org/wiki/Universal_Disk_Format). Other types of disk images (e.g., and ISO/IEC 13346, a.k.a. [UDF](https://en.wikipedia.org/wiki/Universal_Disk_Format). Other types of disk images (e.g.,
[VHD](https://en.wikipedia.org/wiki/VHD_%28file_format%29)) are outside the [VHD](https://en.wikipedia.org/wiki/VHD_%28file_format%29)) are outside the
scope of this article, though the ideas presented here may likely be scope of this article, though the ideas presented here may likely be
succesfully applied. successfully applied.
Linux Linux
----- -----