Skip to content

Commit

Permalink
Updated to support ical4j v4
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jun 14, 2022
1 parent ed889d5 commit b54bdff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions gradle.properties
@@ -1,15 +1,19 @@
ical4jVersion=3.2.1
ical4jVCardVersion=1.0.6
ical4jVersion = 4.0.0-beta1
ical4jVCardVersion = 2.0.0-alpha3

camelVersion=3.8.0
quartzVersion=2.3.2
groovyVersion=3.0.7
romeVersion=1.17.0
slf4jVersion = 1.7.32
log4jVersion = 2.15.0
javamailVersion = 1.6.2
awsSdkVersion = 1.12.112
javamailVersion = 2.0.1
awsSdkVersion = 1.12.220
httpclientVersion = 4.5.13
servletApiVersion = 4.0.1
jettyVersion = 10.0.9
picocliVersion = 4.6.3

bndVersion = 6.1.0
testcontainersVersion = 1.16.2

Expand Down
Expand Up @@ -156,7 +156,7 @@ default boolean removeCalendarDeclineCounterListener(CalendarDeclineCounterListe
}

default void fireCalendarEvent(Calendar calendar) {
switch (calendar.getProperty(Property.METHOD).getValue()) {
switch (calendar.getRequiredProperty(Property.METHOD).getValue()) {
case "PUBLISH":
getCalendarListeners().get(CalendarPublishListener.class)
.forEach(listener -> listener.onPublish(calendar));
Expand Down
Expand Up @@ -53,7 +53,7 @@ public Calendar parse(URL url) throws IOException, FeedException, URISyntaxExcep
}

for (SyndEntry entry : feed.getEntries()) {
calendar.getComponents().add(createComponent(entry));
calendar.add(createComponent(entry));
}
return calendar;
}
Expand Down

0 comments on commit b54bdff

Please sign in to comment.