Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2018-11-09 08:25:07 +0000
committerKarsten Thoms2018-11-09 08:25:07 +0000
commitb1725570eab7d15ae3acb0d1b6b4ff8b108a5928 (patch)
tree36d47faf3b8420b217e28605d21a5d7826197686
parent5be32bf6f206eabd2822723ca0c36fe12b9bcd91 (diff)
downloadeclipse.platform.team-b1725570eab7d15ae3acb0d1b6b4ff8b108a5928.tar.gz
eclipse.platform.team-b1725570eab7d15ae3acb0d1b6b4ff8b108a5928.tar.xz
eclipse.platform.team-b1725570eab7d15ae3acb0d1b6b4ff8b108a5928.zip
Bug 540941 - Deleted NullSubProgressMonitor
Class is not used anymore. Change-Id: I61dabf2c06d0848503f5d250f689600dde68b73d Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/NullSubProgressMonitor.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/NullSubProgressMonitor.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/NullSubProgressMonitor.java
deleted file mode 100644
index b918d7465..000000000
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/NullSubProgressMonitor.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
- *
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.team.internal.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.SubProgressMonitor;
-
-/**
- * This sub-progress monitor can be used to ignore progress indication for
- * methods but allow cancellation.
- * <p>
- * This implementation supports cancelation. The default implementations of the
- * other methods do nothing.
- * </p>
- * @see SubProgressMonitor
- */
-public class NullSubProgressMonitor extends SubProgressMonitor {
- /**
- * Constructor for InfiniteSubProgressMonitor.
- * @param monitor
- */
- public NullSubProgressMonitor(IProgressMonitor monitor) {
- super(monitor, 0, 0);
- }
-
- @Override
- public void beginTask(String name, int totalWork) {
- }
-
- @Override
- public void done() {
- }
-
- @Override
- public void internalWorked(double work) {
- }
-
- @Override
- public void subTask(String name) {
- }
-
- @Override
- public void worked(int work) {
- }
-}

Back to the top