Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 235479 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/tasks/core/TaskList.java (-2 / +4 lines)
Lines 680-692 Link Here
680
					if (lock.getDepth() == 1) {
680
					if (lock.getDepth() == 1) {
681
						delta = new HashSet<TaskContainerDelta>();
681
						delta = new HashSet<TaskContainerDelta>();
682
					}
682
					}
683
					// success
683
					return;
684
					return;
684
				}
685
				}
685
			} catch (InterruptedException e) {
686
			} catch (InterruptedException e) {
686
				if (ignoreInterrupts) {
687
				if (ignoreInterrupts) {
687
					Thread.currentThread().interrupt();
688
					// clear interrupted status to retry lock.aquire() 
689
					Thread.interrupted();
688
				} else {
690
				} else {
689
					throw new OperationCanceledException();
691
					break;
690
				}
692
				}
691
			}
693
			}
692
		}
694
		}

Return to bug 235479