mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Change CElement.equals()
This commit is contained in:
parent
61416ad865
commit
f427f3d5eb
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ public abstract class CElement extends PlatformObject implements ICElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean exists() {
|
public boolean exists() {
|
||||||
return getResource() != null;
|
return getElementInfo() != null;
|
||||||
|
// return getResource() != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isReadOnly () {
|
public boolean isReadOnly () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue