mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 09:09:31 +01:00
spelling correction
This commit is contained in:
@@ -243,7 +243,7 @@ public class AssemblyAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
+ "this can be ignored unless you are scanning .NET DLLs. Please see the log for more details.");
|
+ "this can be ignored unless you are scanning .NET DLLs. Please see the log for more details.");
|
||||||
LOGGER.debug("Could not execute GrokAssembly {}", e.getMessage());
|
LOGGER.debug("Could not execute GrokAssembly {}", e.getMessage());
|
||||||
this.setEnabled(false);
|
this.setEnabled(false);
|
||||||
throw new AnalysisException("An error occured with the .NET AssemblyAnalyzer", e);
|
throw new AnalysisException("An error occurred with the .NET AssemblyAnalyzer", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||||
|
|||||||
@@ -286,10 +286,10 @@ public class CPEAnalyzer implements Analyzer {
|
|||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
} catch (ParseException ex) {
|
} catch (ParseException ex) {
|
||||||
LOGGER.warn("An error occured querying the CPE data. See the log for more details.");
|
LOGGER.warn("An error occurred querying the CPE data. See the log for more details.");
|
||||||
LOGGER.info("Unable to parse: {}", searchString, ex);
|
LOGGER.info("Unable to parse: {}", searchString, ex);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
LOGGER.warn("An error occured reading CPE data. See the log for more details.");
|
LOGGER.warn("An error occurred reading CPE data. See the log for more details.");
|
||||||
LOGGER.info("IO Error with search string: {}", searchString, ex);
|
LOGGER.info("IO Error with search string: {}", searchString, ex);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ public class JarAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
foundSomething |= setPomEvidence(dependency, pom, classes);
|
foundSomething |= setPomEvidence(dependency, pom, classes);
|
||||||
}
|
}
|
||||||
} catch (AnalysisException ex) {
|
} catch (AnalysisException ex) {
|
||||||
LOGGER.warn("An error occured while analyzing '{}'.", dependency.getActualFilePath());
|
LOGGER.warn("An error occurred while analyzing '{}'.", dependency.getActualFilePath());
|
||||||
LOGGER.trace("", ex);
|
LOGGER.trace("", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ public class AssemblyAnalyzerTest extends BaseTest {
|
|||||||
aanalyzer.initialize();
|
aanalyzer.initialize();
|
||||||
fail("Expected an AnalysisException");
|
fail("Expected an AnalysisException");
|
||||||
} catch (AnalysisException ae) {
|
} catch (AnalysisException ae) {
|
||||||
assertEquals("An error occured with the .NET AssemblyAnalyzer", ae.getMessage());
|
assertEquals("An error occurred with the .NET AssemblyAnalyzer", ae.getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
System.setProperty(LOG_KEY, oldProp);
|
System.setProperty(LOG_KEY, oldProp);
|
||||||
// Recover the logger
|
// Recover the logger
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ public class AggregateMojo extends BaseDependencyCheckMojo {
|
|||||||
getLog().debug(String.format("Dependency count post-bundler: %s", engine.getDependencies().size()));
|
getLog().debug(String.format("Dependency count post-bundler: %s", engine.getDependencies().size()));
|
||||||
}
|
}
|
||||||
} catch (AnalysisException ex) {
|
} catch (AnalysisException ex) {
|
||||||
getLog().warn("An error occured grouping the dependencies; duplicate entries may exist in the report", ex);
|
getLog().warn("An error occurred grouping the dependencies; duplicate entries may exist in the report", ex);
|
||||||
getLog().debug("Bundling Exception", ex);
|
getLog().debug("Bundling Exception", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user