mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Check for Empty path in the binary and copy the []IPathEntry
for the manager. * model/org/eclipse/cdt/internal/core/model/Binary.java * model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
This commit is contained in:
parent
dbd947fc1d
commit
1e11fc16ef
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-07-15 Alain Magloire
|
||||||
|
|
||||||
|
Check for Empty path in the binary and copy the []IPathEntry
|
||||||
|
for the manager.
|
||||||
|
|
||||||
|
* model/org/eclipse/cdt/internal/core/model/Binary.java
|
||||||
|
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
|
||||||
|
|
||||||
2004-07-15 Chris Wiebe
|
2004-07-15 Chris Wiebe
|
||||||
|
|
||||||
Initial draft for the type hierarchy view.
|
Initial draft for the type hierarchy view.
|
||||||
|
|
|
@ -251,7 +251,7 @@ public class Binary extends Openable implements IBinary {
|
||||||
IPath filename = filename = symbol.getFilename();
|
IPath filename = filename = symbol.getFilename();
|
||||||
BinaryFunction function = null;
|
BinaryFunction function = null;
|
||||||
|
|
||||||
if (filename != null) {
|
if (filename != null && !filename.isEmpty()) {
|
||||||
BinaryModule module = null;
|
BinaryModule module = null;
|
||||||
if (hash.containsKey(filename)) {
|
if (hash.containsKey(filename)) {
|
||||||
module = (BinaryModule)hash.get(filename);
|
module = (BinaryModule)hash.get(filename);
|
||||||
|
|
|
@ -179,7 +179,7 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
|
||||||
resolvedEntries = (IPathEntry[])listEntries.toArray(NO_PATHENTRIES);
|
resolvedEntries = (IPathEntry[])listEntries.toArray(NO_PATHENTRIES);
|
||||||
if (generateMarkers) {
|
if (generateMarkers) {
|
||||||
final ICProject finalCProject = cproject;
|
final ICProject finalCProject = cproject;
|
||||||
final IPathEntry[] finalEntries = resolvedEntries;
|
final IPathEntry[] finalEntries = (IPathEntry[])listEntries.toArray(NO_PATHENTRIES);
|
||||||
Job markerTask = new Job("PathEntry Marker Job") { //$NON-NLS-1$
|
Job markerTask = new Job("PathEntry Marker Job") { //$NON-NLS-1$
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
|
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
|
||||||
|
|
Loading…
Add table
Reference in a new issue