HHH-8219 - Removing references to methods added in Java 7
This commit is contained in:
parent
77a4c3e52e
commit
196885498b
|
@ -76,7 +76,7 @@ public class JoinedIterator<T> implements Iterator<T> {
|
||||||
protected void updateCurrentIterator() {
|
protected void updateCurrentIterator() {
|
||||||
if ( currentIterator == null ) {
|
if ( currentIterator == null ) {
|
||||||
if( wrappedIterators.length == 0 ) {
|
if( wrappedIterators.length == 0 ) {
|
||||||
currentIterator = Collections.emptyIterator();
|
currentIterator = Collections.<T>emptyList().iterator();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
currentIterator = wrappedIterators[0];
|
currentIterator = wrappedIterators[0];
|
||||||
|
|
|
@ -367,7 +367,7 @@ public abstract class Collection implements Fetchable, Value, Filterable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Iterator<Selectable> getColumnIterator() {
|
public Iterator<Selectable> getColumnIterator() {
|
||||||
return Collections.emptyIterator();
|
return Collections.<Selectable>emptyList().iterator();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getColumnSpan() {
|
public int getColumnSpan() {
|
||||||
|
|
Loading…
Reference in New Issue