mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 10:32:00 +01:00
removed unused variable and inner assignment
Former-commit-id: ca34c3a26716353dc7e7c619c18a4f7fad264b7f
This commit is contained in:
@@ -230,8 +230,7 @@ public class AssemblyAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
final Process p = pb.start();
|
final Process p = pb.start();
|
||||||
// Try evacuating the error stream
|
// Try evacuating the error stream
|
||||||
rdr = new BufferedReader(new InputStreamReader(p.getErrorStream(), "UTF-8"));
|
rdr = new BufferedReader(new InputStreamReader(p.getErrorStream(), "UTF-8"));
|
||||||
String line;
|
while (rdr.ready() && rdr.readLine() != null) {
|
||||||
while (rdr.ready() && (line = rdr.readLine()) != null) {
|
|
||||||
// We expect this to complain
|
// We expect this to complain
|
||||||
}
|
}
|
||||||
final Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(p.getInputStream());
|
final Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(p.getInputStream());
|
||||||
|
|||||||
Reference in New Issue
Block a user