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);
    }

}

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;
import org.javers.model.object.graph.ObjectGraphBuilder;

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

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

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

}

build fix