mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +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();
|
||||
}
|
||||
|
||||
|
||||
public boolean isCleared() {
|
||||
return fCleared;
|
||||
}
|
||||
|
@ -269,6 +268,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
return !fCleared && !fReloaded && !fNewFiles && fClearedFiles.isEmpty() && fFilesWritten.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
public static interface IListener {
|
||||
public void handleChange(PDOM pdom, ChangeEvent event);
|
||||
}
|
||||
|
@ -1340,7 +1340,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
return false;
|
||||
}
|
||||
};
|
||||
} catch (DOMException e1) {
|
||||
} catch (DOMException e) {
|
||||
}
|
||||
}
|
||||
if (filter != null) {
|
||||
|
@ -1360,6 +1360,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
int fReadLocks;
|
||||
int fWriteLocks;
|
||||
List<StackTraceElement[]> fTraces= new ArrayList<StackTraceElement[]>();
|
||||
|
||||
public int addTrace() {
|
||||
fTraces.add(Thread.currentThread().getStackTrace());
|
||||
return fTraces.size();
|
||||
|
@ -1380,6 +1381,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
fTraces.addAll(val.fTraces);
|
||||
}
|
||||
}
|
||||
|
||||
// For debugging lock issues
|
||||
private Map<Thread, DebugLockInfo> fLockDebugging;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue