Archived
Changed inline-string to a const variable.
This commit is contained in:
1 parent
1ab75cee3c
commit
a229c1f51c
3 files changed
+9
-7
No files matched your search
@@ -25,7 +25,7 @@ public class DataHandler {
|
||||
public Event[] populateList(String category) {
|
||||
LinkedList<Event> sorted = new LinkedList<Event>();
|
||||
|
||||
if (category.equals("all")) {
|
||||
if (category.equals(Event.ALL)) {
|
||||
return events.toArray(new Event[events.size()]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user