mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Changed EventEntry to getlast
This commit is contained in:
@@ -63,7 +63,7 @@ public class EventRegistry {
|
||||
if (entries == null || entries.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return (EventEntry<T>) entries.get(entries.size() - 1);
|
||||
return (EventEntry<T>) entries.getLast();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user