mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 19:11:29 +01:00
fixed typo in exception and added documentation for hints schema
This commit is contained in:
@@ -323,7 +323,7 @@ public class HintAnalyzer extends AbstractAnalyzer implements Analyzer {
|
|||||||
try {
|
try {
|
||||||
org.apache.commons.io.FileUtils.copyInputStreamToFile(fromClasspath, file);
|
org.apache.commons.io.FileUtils.copyInputStreamToFile(fromClasspath, file);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
throw new HintParseException("Unable to locate suppressions file in classpath", ex);
|
throw new HintParseException("Unable to locate hints file in classpath", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ The following shows some other ways to add evidence
|
|||||||
</hints>
|
</hints>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
The full schema for hints files can be found here: [dependency-hint.xsd](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/schema/dependency-hint.1.1.xsd "Hint Schema")
|
The full schema for hints files can be found here: [dependency-hint.xsd](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/schema/dependency-hint.1.1.xsd "Hint Schema")
|
||||||
|
|
||||||
Please see the appropriate configuration option in each interfaces configuration guide:
|
Please see the appropriate configuration option in each interfaces configuration guide:
|
||||||
|
|||||||
Reference in New Issue
Block a user