diff --git a/src/java/davmail/exchange/VCalendar.java b/src/java/davmail/exchange/VCalendar.java index fb3bd15e..a6032ea4 100644 --- a/src/java/davmail/exchange/VCalendar.java +++ b/src/java/davmail/exchange/VCalendar.java @@ -357,8 +357,6 @@ public class VCalendar extends VObject { return "CONFIDENTIAL"; } else if ("CONFIDENTIAL".equalsIgnoreCase(calendarServerAccess) || "RESTRICTED".equalsIgnoreCase(calendarServerAccess)) { return "PRIVATE"; - } else if (calendarServerAccess != null && calendarServerAccess.length() > 0) { - return calendarServerAccess; } else { return null; } @@ -376,8 +374,6 @@ public class VCalendar extends VObject { return "CONFIDENTIAL"; } else if ("CONFIDENTIAL".equalsIgnoreCase(eventClass)) { return "PRIVATE"; - } else if (eventClass != null && eventClass.length() > 0) { - return eventClass; } else { return null; }