mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
deadlock
This commit is contained in:
+2
-1
@@ -482,6 +482,7 @@ public abstract class PassExecutorService implements Disposable {
|
||||
|
||||
public static void log(ProgressIndicator progressIndicator, TextEditorHighlightingPass pass, @NonNls Object... info) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
String docText = pass == null ? "" : StringUtil.first(pass.getDocument().getText(), 10, true);
|
||||
synchronized (PassExecutorService.class) {
|
||||
StringBuilder s = new StringBuilder();
|
||||
for (Object o : info) {
|
||||
@@ -492,7 +493,7 @@ public abstract class PassExecutorService implements Disposable {
|
||||
+ s
|
||||
+ "; progress=" + (progressIndicator == null ? null : progressIndicator.hashCode())
|
||||
+ " " + (progressIndicator == null ? "?" : progressIndicator.isCanceled() ? "X" : "V")
|
||||
+ " : '" + (pass == null ? "" : StringUtil.first(pass.getDocument().getText(), 10, true)) + "'";
|
||||
+ " : '" + docText + "'";
|
||||
LOG.debug(message);
|
||||
//System.out.println(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user