Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-12-09 03:32:42 +0000
committerSergey Prigogin2016-12-09 13:22:42 +0000
commit6d3c64f1217fa7a7afe59d9c037a980eda8bddf0 (patch)
tree97982934beee6e0300782c5d5a78c397375d78b4
parentfa42bc3159161459f4e89b6e4f3e213e841ae40d (diff)
downloadeclipse.platform.resources-6d3c64f1217fa7a7afe59d9c037a980eda8bddf0.tar.gz
eclipse.platform.resources-6d3c64f1217fa7a7afe59d9c037a980eda8bddf0.tar.xz
eclipse.platform.resources-6d3c64f1217fa7a7afe59d9c037a980eda8bddf0.zip
Change-Id: If8542a565f387200976ec71c64570dee73ee05fe Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/Policy.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/Policy.java b/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/Policy.java
index 5aa22b923..7a591ac86 100644
--- a/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/Policy.java
+++ b/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/Policy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2015 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 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
@@ -13,7 +13,8 @@ package org.eclipse.core.internal.filesystem;
import java.io.*;
import java.util.Date;
import org.eclipse.core.internal.runtime.RuntimeLog;
-import org.eclipse.core.runtime.*;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Status;
/**
* Grab bag of utility methods for the file system plugin
@@ -21,11 +22,6 @@ import org.eclipse.core.runtime.*;
public class Policy {
public static final String PI_FILE_SYSTEM = "org.eclipse.core.filesystem"; //$NON-NLS-1$
- public static void checkCanceled(IProgressMonitor monitor) {
- if (monitor.isCanceled())
- throw new OperationCanceledException();
- }
-
/**
* Print a debug message to the console.
* Pre-pend the message with the current date and the name of the current thread.

Back to the top