Skip to content

Commit 9d544d5

Browse files
committed
Revert "Use SubMonintor in TextChange"
This reverts commit 2f68c39.
1 parent 78af158 commit 9d544d5

File tree

1 file changed

+2
-0
lines changed
  • bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring

1 file changed

+2
-0
lines changed

bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ public Change perform(IProgressMonitor pm) throws CoreException {
247247
throw Changes.asCoreException(e);
248248
} finally {
249249
releaseDocument(document, subMon.newChild(1));
250+
subMon.done();
250251
}
251252
}
252253

@@ -310,6 +311,7 @@ public IDocument getCurrentDocument(IProgressMonitor pm) throws CoreException {
310311
} finally {
311312
releaseDocument(result, subMon.newChild(1));
312313
}
314+
subMon.done();
313315
return result;
314316
}
315317

0 commit comments

Comments
 (0)