1.1 --- a/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Sat Feb 14 19:20:40 2015 +0100 1.2 +++ b/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Sat Feb 14 21:21:19 2015 +0100 1.3 @@ -72,7 +72,7 @@ 1.4 import java.net.URISyntaxException; 1.5 import java.text.ParseException; 1.6 1.7 -import static org.junit.Assert.*; 1.8 +import static junit.framework.Assert.*; 1.9 1.10 //import android.accounts.Account; 1.11 //import android.content.ContentProviderClient; 1.12 @@ -319,6 +319,7 @@ 1.13 public boolean createIcs(String strUid) { 1.14 boolean Result = false; 1.15 TimeZone timeZone = null; 1.16 + //if (obj == null) throw new AssertionError("Null object"); 1.17 assertNotNull(Thread.currentThread().getContextClassLoader()); 1.18 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); 1.19 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available