comparison graal/com.oracle.max.base/src/com/sun/max/util/ArrayValueHistory.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
35 private final ArrayDeque<E> generations; 35 private final ArrayDeque<E> generations;
36 private final int limit; 36 private final int limit;
37 private int age = -1; 37 private int age = -1;
38 38
39 public ArrayValueHistory(int limit) { 39 public ArrayValueHistory(int limit) {
40 this.generations = new ArrayDeque<E>(); 40 this.generations = new ArrayDeque<>();
41 this.limit = limit; 41 this.limit = limit;
42 } 42 }
43 43
44 public ArrayValueHistory() { 44 public ArrayValueHistory() {
45 this (Integer.MAX_VALUE); 45 this (Integer.MAX_VALUE);