/**
* A test for the bug report 1075255.
*/
public void testBug1075255() {
TimeSeries ts = new TimeSeries("dummy", FixedMillisecond.class);
ts.add(new FixedMillisecond(0L), 0.0);
TimeSeries ts2 = new TimeSeries("dummy2", FixedMillisecond.class);
ts2.add(new FixedMillisecond(0L), 1.0);
try {
ts.addAndOrUpdate(ts2);
}
catch (Exception e) {
e.printStackTrace();