package org.javers.core.pico;

import java.util.Arrays;
import java.util.Collection;

import org.javers.common.pico.JaversModule;
import org.javers.core.Javers;
import org.javers.core.diff.DFSGraphToSetConverter;
import org.javers.core.diff.DiffFactory;
import org.javers.core.diff.appenders.NewObjectAppender;
import org.javers.core.diff.appenders.ObjectRemovedAppender;
import org.javers.core.diff.appenders.PropertyChangeSetAppender;
import org.javers.core.diff.calculators.MultiEdgeDifferenceCalculator;

/**
 * @author Piotr Betkier
 */
public class CoreJaversModule implements JaversModule {

    private static Class[] moduleComponents = new Class[]{Javers.class, DiffFactory.class,
            DFSGraphToSetConverter.class, NewObjectAppender.class, ObjectRemovedAppender.class,
            PropertyChangeSetAppender.class, MultiEdgeDifferenceCalculator.class};

    @Override
    public Collection<Class> getModuleComponents() {
        return Arrays.asList(moduleComponents);
    }

}

@@ -500,16 +500,73 @@
 culator;
+%0Aimport org.javers.model.object.graph.ObjectGraphBuilder;
 %0A%0A/**%0A *
@@ -735,24 +735,50 @@
 ctory.class,
+ ObjectGraphBuilder.class,
 %0A           

build fix