HHH-8219 - Removing references to methods added in Java 7

This commit is contained in:
Gunnar Morling 2013-05-03 12:59:06 +02:00
parent 77a4c3e52e
commit 196885498b
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ public class JoinedIterator<T> implements Iterator<T> {
protected void updateCurrentIterator() {
if ( currentIterator == null ) {
if( wrappedIterators.length == 0 ) {
currentIterator = Collections.emptyIterator();
currentIterator = Collections.<T>emptyList().iterator();
}
else {
currentIterator = wrappedIterators[0];

View File

@ -367,7 +367,7 @@ public abstract class Collection implements Fetchable, Value, Filterable {
}
public Iterator<Selectable> getColumnIterator() {
return Collections.emptyIterator();
return Collections.<Selectable>emptyList().iterator();
}
public int getColumnSpan() {