Skip to content

Commit

Permalink
fix: timestamps must be keep in the same order they are inserted
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld committed Nov 27, 2015
1 parent 77de7f4 commit dbdb40c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
*/
public class HistogramResponse implements Response {

private final Set<Long> timestamps = new HashSet<>();
private final List<Long> timestamps = new ArrayList<>();
private final List<Bucket> values = new ArrayList<>();

public List<Bucket> values() {
return values;
}

public Set<Long> timestamps() {
public List<Long> timestamps() {
return timestamps;
}
}

0 comments on commit dbdb40c

Please sign in to comment.