Add missing Override tags -> trigger travis build.
This commit is contained in:
parent
f504277bca
commit
7afc1c34fc
|
@ -71,43 +71,54 @@ public class RandomAdaptorTest {
|
|||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean nextBoolean() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void nextBytes(byte[] bytes) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public double nextDouble() {
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float nextFloat() {
|
||||
return (float) value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public double nextGaussian() {
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int nextInt() {
|
||||
return (int) value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int nextInt(int n) {
|
||||
return (int) value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long nextLong() {
|
||||
return (int) value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSeed(int seed) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSeed(int[] seed) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSeed(long seed) {
|
||||
}
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@ public class SynchronizedRandomGeneratorTest {
|
|||
final List<Callable<Double>> tasks = new ArrayList<Callable<Double>>();
|
||||
for (int i = 0; i < numGenerators; i++) {
|
||||
tasks.add(new Callable<Double>() {
|
||||
@Override
|
||||
public Double call() {
|
||||
Double lastValue = 0d;
|
||||
for (int j = 0; j < numSamples; j++) {
|
||||
|
|
Loading…
Reference in New Issue