diff options
author | Karsten Thoms | 2018-02-20 21:23:39 +0000 |
---|---|---|
committer | Karsten Thoms | 2018-03-09 18:40:18 +0000 |
commit | c31121089f93fec170f2944482a4b0ea446d48e4 (patch) | |
tree | 539f49ff53040aba299d94695958561feaef7618 /bundles/org.eclipse.team.core/src | |
parent | cc763a549b44c68e8e7bc57a9a398407a44b696b (diff) | |
download | eclipse.platform.team-c31121089f93fec170f2944482a4b0ea446d48e4.tar.gz eclipse.platform.team-c31121089f93fec170f2944482a4b0ea446d48e4.tar.xz eclipse.platform.team-c31121089f93fec170f2944482a4b0ea446d48e4.zip |
Bug 531433 - Replace usage of SubProgressMonitor by SubMonitorI20180311-2000I20180310-1500I20180309-2000
Change-Id: I68e635f60614b9a923c8c848c17115b6e9275a30
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'bundles/org.eclipse.team.core/src')
-rw-r--r-- | bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java index 66b4b3ac8..d987299ca 100644 --- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java +++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -50,7 +50,7 @@ public class Policy { return new NullProgressMonitor(); if (monitor instanceof NullProgressMonitor) return monitor; - return new SubProgressMonitor(monitor, ticks); + return SubMonitor.convert(monitor, ticks); } public static IProgressMonitor infiniteSubMonitorFor(IProgressMonitor monitor, int ticks) { |