Circumvent situations where Eclipse tries to decorate externally linked resources
commit00987d1b8fde609525c12b44f51727ab619f52c2
authorCharles O'Farrell <charleso@charleso.org>
Wed, 21 Jan 2009 22:33:51 +0000 (22 08:33 +1000)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 31 Jan 2009 15:17:41 +0000 (31 16:17 +0100)
tree7314f1b09a5510361d9f1dcf7d8eaa8ae4fc3096
parent2f4e0a9fe29fdc3cb4ef1c8da71b7d86370f9baa
Circumvent situations where Eclipse tries to decorate externally linked resources

This occurs in one our projects which has an externally linked folder, which
causes the decorator to die on a NPE. Alternatively rsrc.isLinked() could
have been used, but we allow for linked resources to repository files.

Signed-off-by: Charles O'Farrell <charleso@charleso.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java