From a5835665d85568fd1da54771a943615a68a19184 Mon Sep 17 00:00:00 2001 From: Julian Heetel Date: Fri, 8 Apr 2022 16:10:21 +0200 Subject: [PATCH] Make all fields of EventModel final --- .../de/synyx/android/meeroo/business/event/EventModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/synyx/android/meeroo/business/event/EventModel.java b/app/src/main/java/de/synyx/android/meeroo/business/event/EventModel.java index b476666..7b3054f 100644 --- a/app/src/main/java/de/synyx/android/meeroo/business/event/EventModel.java +++ b/app/src/main/java/de/synyx/android/meeroo/business/event/EventModel.java @@ -20,9 +20,9 @@ public class EventModel implements Comparable { private final String name; private final DateTime begin; private final DateTime end; - private int status; + private final int status; private final boolean isRecurring; - private List attendees = new ArrayList<>(); + private final List attendees = new ArrayList<>(); public EventModel(Long id, String name, DateTime begin, DateTime end, int status, boolean isRecurring) {