Changed inline-string to a const variable.

This commit is contained in:
Robert Kolner committed 2011-09-28 20:06:16 +02:00
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()]);
}