.
This commit is contained in:
@@ -77,9 +77,9 @@ public class Liangs {
|
||||
Iterator<T> iterator = loader.iterator();
|
||||
|
||||
if (iterator.hasNext()) {
|
||||
T dbSource = iterator.next();
|
||||
if (name.equalsIgnoreCase(dbSource.getType())) {
|
||||
return dbSource;
|
||||
T t = iterator.next();
|
||||
if (name.equalsIgnoreCase(t.getType())) {
|
||||
return t;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user