Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-05-12 21:02:06 +0000
committerMichael Valenta2004-05-12 21:02:06 +0000
commit819d8b0e7e31c20d046fa2bf540948d1cb521665 (patch)
tree2f96645b9b66de4a3849acd13ed05ee1c8c7a5ef
parentbc50ca8bbcba6e64ec46ba07630612f5f4bbe167 (diff)
downloadeclipse.platform.team-819d8b0e7e31c20d046fa2bf540948d1cb521665.tar.gz
eclipse.platform.team-819d8b0e7e31c20d046fa2bf540948d1cb521665.tar.xz
eclipse.platform.team-819d8b0e7e31c20d046fa2bf540948d1cb521665.zip
Random change (I know your watching;-)Root_branch_20040512_CVSVariantTreeExperiments
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/Policy.java2
1 files changed, 1 insertions, 1 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 2e6a59fca..1029588a6 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
@@ -92,7 +92,7 @@ public class Policy {
* Progress monitor helpers
*/
public static void checkCanceled(IProgressMonitor monitor) {
- if (monitor.isCanceled())
+ if (monitor != null && monitor.isCanceled())
throw new OperationCanceledException();
}
public static IProgressMonitor monitorFor(IProgressMonitor monitor) {

Back to the top