package net.fortuna.ical4j.validate;

import java.util.ServiceLoader;

/**
 * Created by fortuna on 13/09/15.
 */
public abstract class AbstractCalendarValidatorFactory {

    private static CalendarValidatorFactory instance;
    static {
        instance = ServiceLoader.load(CalendarValidatorFactory.class).iterator().next();
    }

    public static CalendarValidatorFactory getInstance() {
        return instance;
    }
}

@@ -300,16 +300,72 @@
 ry.class
+, DefaultCalendarValidatorFactory.class.getClassLoader()
 ).iterat

fix OSGi problem in AbstractCalendarValidatorFacto