Fix #159
This commit is contained in:
committed by
Gunnar Morling
parent
fd0bb3a072
commit
38fc317073
@@ -497,7 +497,7 @@ public class CreateMeasurements {
|
|||||||
WeatherStation station = stations.get(ThreadLocalRandom.current().nextInt(stations.size()));
|
WeatherStation station = stations.get(ThreadLocalRandom.current().nextInt(stations.size()));
|
||||||
bw.write(station.id());
|
bw.write(station.id());
|
||||||
bw.write(";" + station.measurement());
|
bw.write(";" + station.measurement());
|
||||||
bw.newLine();
|
bw.write('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.printf("Created file with %,d measurements in %s ms%n", size, System.currentTimeMillis() - start);
|
System.out.printf("Created file with %,d measurements in %s ms%n", size, System.currentTimeMillis() - start);
|
||||||
|
Reference in New Issue
Block a user