Always use a single WindowCache for the entire JVM
[egit/imyousuf.git] / org.spearce.jgit / src / org / spearce / jgit / lib / NullProgressMonitor.java
blob5eb9bc1afa73c2b81e3796b86c9bee7d09eba5a4
1 /*
2 * Copyright (C) 2007 Robin Rosenberg
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License, version 2, as published by the Free Software Foundation.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17 package org.spearce.jgit.lib;
19 /**
20 * A NullProgressMonitor does not report progress anywhere.
22 public class NullProgressMonitor implements ProgressMonitor {
23 public void start(int totalTasks) {
24 // Do not report.
27 public void beginTask(String title, int totalWork) {
28 // Do not report.
31 public void update(int completed) {
32 // Do not report.
35 public boolean isCancelled() {
36 return false;
39 public void endTask() {
40 // Do not report.