Mercurial > hg > truffle
comparison graal/com.oracle.max.base/src/com/sun/max/collect/ArrayPool.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 |
---|---|
29 */ | 29 */ |
30 public class ArrayPool<T extends PoolObject> extends Pool<T> { | 30 public class ArrayPool<T extends PoolObject> extends Pool<T> { |
31 | 31 |
32 protected final T[] objects; | 32 protected final T[] objects; |
33 | 33 |
34 @SafeVarargs | |
34 public ArrayPool(T... objects) { | 35 public ArrayPool(T... objects) { |
35 this.objects = objects; | 36 this.objects = objects; |
36 } | 37 } |
37 | 38 |
38 @Override | 39 @Override |