Do this cast in a way that Java 7 doesn't complain about.

This commit is contained in:
Michael Bayne
2013-05-16 18:42:09 +00:00
parent 0c26a26ce0
commit 0b5369fd11
@@ -300,8 +300,8 @@ public class Transformers
}
public Iterable<E> build () {
if (fintern) {
@SuppressWarnings("unchecked")
Iterable<E> built = (Iterable<E>) INTERNER.intern(fretval);
Object interned = INTERNER.intern(fretval);
@SuppressWarnings("unchecked") Iterable<E> built = (Iterable<E>)interned;
return built;
}
return fretval;