Commit 38363a80 authored by rwm's avatar rwm
Browse files

vararg constructor

parent 88f55642
......@@ -36,7 +36,7 @@ public class TestObservationHandler implements Consumer<Observation>{
private Tester[] tests;
private int count;
public TestObservationHandler(Tester[] tests){
public TestObservationHandler(Tester... tests){
this.tests = tests;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment