@@ -0,0 +1,1668 @@
+/*%0A * Copyright 2014 MovingBlocks%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *  http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.terasology;%0A%0Aimport org.eclipse.jgit.lib.ProgressMonitor;%0Aimport org.slf4j.Logger;%0A%0A/**%0A * TODO Type description%0A * @author Martin Steiger%0A */%0Apublic class LoggingProgressMonitor implements ProgressMonitor %7B%0A%0A    private final Logger logger;%0A    private String curTask;%0A    private int maxWork;%0A    private int curWork;%0A%0A    /**%0A     * @param logger%0A     */%0A    public LoggingProgressMonitor(Logger logger) %7B%0A        this.logger = logger;%0A    %7D%0A%0A    @Override%0A    public void beginTask(String title, int totalWork) %7B%0A        this.curTask = title;%0A        this.curWork = 0;%0A        this.maxWork = totalWork;%0A        logger.info(%22Starting: %22 + title);%0A    %7D%0A%0A    @Override%0A    public void start(int totalTasks) %7B%0A        // ignore%0A    %7D%0A%0A    @Override%0A    public void update(int completed) %7B%0A        curWork += completed;%0A        logger.info(%22%7B%7D (%7B%7D/%7B%7D)%22, curTask, curWork, maxWork);%0A    %7D%0A%0A    @Override%0A    public void endTask() %7B%0A        logger.info(curTask + %22 finished%22);%0A    %7D%0A%0A    @Override%0A    public boolean isCancelled() %7B%0A        return false;%0A    %7D%0A%0A%7D%0A

Add Logging progress monitor (unused)