Do this cast in a way that Java 7 doesn't complain about.
This commit is contained in:
@@ -300,8 +300,8 @@ public class Transformers
|
|||||||
}
|
}
|
||||||
public Iterable<E> build () {
|
public Iterable<E> build () {
|
||||||
if (fintern) {
|
if (fintern) {
|
||||||
@SuppressWarnings("unchecked")
|
Object interned = INTERNER.intern(fretval);
|
||||||
Iterable<E> built = (Iterable<E>) INTERNER.intern(fretval);
|
@SuppressWarnings("unchecked") Iterable<E> built = (Iterable<E>)interned;
|
||||||
return built;
|
return built;
|
||||||
}
|
}
|
||||||
return fretval;
|
return fretval;
|
||||||
|
|||||||
Reference in New Issue
Block a user