mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Check if the resource is accessible
This commit is contained in:
parent
24a43f659d
commit
ad8331a061
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
Fix PR 56734
|
||||
|
||||
* src/org/eclipse/cdt/internal/ui/buildconsole/BuildConsolePage.java
|
||||
* src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java
|
||||
* puglin.xml
|
||||
|
||||
2004-03-30 Alain Magloire
|
||||
|
|
|
@ -75,7 +75,7 @@ public class ErrorTickAdornmentProvider implements IAdornmentProvider {
|
|||
// Reasons include:
|
||||
// This resource does not exist.
|
||||
// This resource is a project that is not open.
|
||||
if (res == null || !res.exists()) { // for elements in archives
|
||||
if (res == null || !res.isAccessible()) { // for elements in archives
|
||||
return 0;
|
||||
}
|
||||
int info= 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue