Small cleanup.

This commit is contained in:
Robert Kolner committed 2011-10-19 19:46:01 +02:00
1 parent 5f02e8895c
commit 4e10338d1f
2 files changed
+6 -11

No files matched your search

+6 -6
View File
@@ -23,12 +23,12 @@ public class Event implements Serializable {
String text,
String category) {
this.id = id;
this.title = title;
this.description = (description == null) ? "" : description;
this.date = (date == null) ? "" : date;
this.location = (location == null) ? "" : location;
this.text = (text == null) ? "" : text;
this.category = (category == null) ? "" : category;
this.title = title.trim();
this.description = (description == null) ? "" : description.trim();
this.date = (date == null) ? "" : date.trim();
this.location = (location == null) ? "" : location.trim();
this.text = (text == null) ? "" : text.trim();
this.category = (category == null) ? "" : category.trim();
}
public String toString() {