Change GitResourceDecorator to use isAccessible
commit089eab66c415fc706d6947e401d9996a6c3b1ba1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 29 Aug 2008 00:05:37 +0000 (28 17:05 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 29 Aug 2008 00:05:37 +0000 (28 17:05 -0700)
tree6877569698935f906fe1f2e15d0b8578e107e913
parentf3a6ac20061753c8523e7ec6c189601155e82afd
Change GitResourceDecorator to use isAccessible

f3a6ac20 says it switched to use isAccessible() here but it
changed to exists().  We can only use setSessionProperty if
the resource is accessible so we must use the correct test
here in order to fix the issue reported by Robert.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitResourceDecorator.java