You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2013/07/30 09:49:56 UTC

svn commit: r1508331 - /openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java

Author: sebawagner
Date: Tue Jul 30 07:49:55 2013
New Revision: 1508331

URL: http://svn.apache.org/r1508331
Log:
OPENMEETINGS-720 Fix issues with iCal4J on some machines with automatic update of Timezones

Modified:
    openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java

Modified: openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java?rev=1508331&r1=1508330&r2=1508331&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java (original)
+++ openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/utils/mail/IcalHandler.java Tue Jul 30 07:49:55 2013
@@ -73,7 +73,7 @@ public class IcalHandler {
 	public final static Method ICAL_METHOD_REFRESH = Method.REFRESH;
 
 	/**
-	 * Konstruktor with DefaultTimeZone
+	 * Constructor with DefaultTimeZone
 	 * 
 	 * @param method
 	 *            (@see IcalHandler Constants)
@@ -82,6 +82,8 @@ public class IcalHandler {
 	public IcalHandler(Method method) {
 		log.debug("Icalhandler method type : " + method);
 		
+		System.setProperty("net.fortuna.ical4j.timezone.update.enabled", "false");
+		
 		icsCalendar = new net.fortuna.ical4j.model.Calendar();
 
 		icsCalendar.getProperties().add(