Mercurial > hg > truffle
diff graal/com.oracle.max.base/src/com/sun/max/collect/IntHashMap.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 |
line wrap: on
line diff
--- a/graal/com.oracle.max.base/src/com/sun/max/collect/IntHashMap.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.base/src/com/sun/max/collect/IntHashMap.java Sun Dec 18 05:24:06 2011 +0100 @@ -169,7 +169,7 @@ if (values == null) { return Collections.emptyList(); } - final List<T> list = new ArrayList<T>(numberOfValues); + final List<T> list = new ArrayList<>(numberOfValues); for (int i = 0; i < values.length; i++) { final T value = values[i]; if (value != null) {