mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 18:41:44 +01:00
findbugs correction
This commit is contained in:
@@ -86,6 +86,7 @@ public class ExceptionCollection extends Exception {
|
|||||||
*/
|
*/
|
||||||
public ExceptionCollection(Throwable exceptions, boolean fatal) {
|
public ExceptionCollection(Throwable exceptions, boolean fatal) {
|
||||||
super();
|
super();
|
||||||
|
this.exceptions = new ArrayList<Throwable>();
|
||||||
this.exceptions.add(exceptions);
|
this.exceptions.add(exceptions);
|
||||||
this.fatal = fatal;
|
this.fatal = fatal;
|
||||||
}
|
}
|
||||||
@@ -97,6 +98,7 @@ public class ExceptionCollection extends Exception {
|
|||||||
*/
|
*/
|
||||||
public ExceptionCollection(String msg, Throwable exception) {
|
public ExceptionCollection(String msg, Throwable exception) {
|
||||||
super(msg);
|
super(msg);
|
||||||
|
this.exceptions = new ArrayList<Throwable>();
|
||||||
this.exceptions.add(exception);
|
this.exceptions.add(exception);
|
||||||
this.fatal = false;
|
this.fatal = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user