Merge pull request #10650 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-3.2.5

Bump ical4j from 1.0.8 to 3.2.5
This commit is contained in:
Tobias Kaminsky 2022-08-19 16:57:25 +02:00 committed by GitHub
commit 2980f1fe7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -288,7 +288,7 @@ dependencies {
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation ('org.mnode.ical4j:ical4j:1.0.8') {
implementation ('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons','commons-logging'].each {
exclude group: "$it"
}

View file

@ -42,7 +42,6 @@ import android.view.WindowManager;
import android.widget.EditText;
import com.nextcloud.client.account.User;
import com.nextcloud.client.di.Injectable;
import com.nextcloud.client.files.downloader.PostUploadAction;
import com.nextcloud.client.files.downloader.Request;
import com.nextcloud.client.files.downloader.TransferManagerConnection;
@ -62,6 +61,7 @@ import net.fortuna.ical4j.model.Dur;
import net.fortuna.ical4j.model.Period;
import net.fortuna.ical4j.model.Property;
import net.fortuna.ical4j.model.PropertyFactoryImpl;
import net.fortuna.ical4j.model.PropertyFactoryRegistry;
import net.fortuna.ical4j.model.PropertyList;
import net.fortuna.ical4j.model.TimeZone;
import net.fortuna.ical4j.model.TimeZoneRegistry;
@ -104,7 +104,7 @@ import java.util.UUID;
public class SaveCalendar {
private static final String TAG = "ICS_SaveCalendar";
private final PropertyFactoryImpl mPropertyFactory = PropertyFactoryImpl.getInstance();
private final PropertyFactoryImpl mPropertyFactory = new PropertyFactoryRegistry();
private TimeZoneRegistry mTzRegistry;
private final Set<TimeZone> mInsertedTimeZones = new HashSet<>();
private final Set<String> mFailedOrganisers = new HashSet<>();

View file

@ -0,0 +1,2 @@
# suppress inspection "UnusedProperty"
net.fortuna.ical4j.timezone.cache.impl=net.fortuna.ical4j.util.MapTimeZoneCache