mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Cosmetics.
This commit is contained in:
parent
a3f2dca464
commit
f9be7ba9d5
1 changed files with 10 additions and 8 deletions
|
@ -244,7 +244,6 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
fFilesWritten.clear();
|
fFilesWritten.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public boolean isCleared() {
|
public boolean isCleared() {
|
||||||
return fCleared;
|
return fCleared;
|
||||||
}
|
}
|
||||||
|
@ -269,6 +268,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
return !fCleared && !fReloaded && !fNewFiles && fClearedFiles.isEmpty() && fFilesWritten.isEmpty();
|
return !fCleared && !fReloaded && !fNewFiles && fClearedFiles.isEmpty() && fFilesWritten.isEmpty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static interface IListener {
|
public static interface IListener {
|
||||||
public void handleChange(PDOM pdom, ChangeEvent event);
|
public void handleChange(PDOM pdom, ChangeEvent event);
|
||||||
}
|
}
|
||||||
|
@ -1340,7 +1340,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} catch (DOMException e1) {
|
} catch (DOMException e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (filter != null) {
|
if (filter != null) {
|
||||||
|
@ -1360,6 +1360,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
int fReadLocks;
|
int fReadLocks;
|
||||||
int fWriteLocks;
|
int fWriteLocks;
|
||||||
List<StackTraceElement[]> fTraces= new ArrayList<StackTraceElement[]>();
|
List<StackTraceElement[]> fTraces= new ArrayList<StackTraceElement[]>();
|
||||||
|
|
||||||
public int addTrace() {
|
public int addTrace() {
|
||||||
fTraces.add(Thread.currentThread().getStackTrace());
|
fTraces.add(Thread.currentThread().getStackTrace());
|
||||||
return fTraces.size();
|
return fTraces.size();
|
||||||
|
@ -1380,6 +1381,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
fTraces.addAll(val.fTraces);
|
fTraces.addAll(val.fTraces);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For debugging lock issues
|
// For debugging lock issues
|
||||||
private Map<Thread, DebugLockInfo> fLockDebugging;
|
private Map<Thread, DebugLockInfo> fLockDebugging;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue