Don't read link target for symlinks decoration to avoid exceptions
commit8f7776417e26311285ba62fbd7e203abc0e40975
authorAndrey Loskutov <loskutov@gmx.de>
Sun, 16 Aug 2015 08:21:33 +0000 (16 10:21 +0200)
committerAndrey Loskutov <loskutov@gmx.de>
Sun, 16 Aug 2015 08:27:38 +0000 (16 10:27 +0200)
tree02043b7ad679a46da83ca33162b6b07cd1d133fc
parente091c36f3f6a3ba34e04555f62702c6ba0809e5b
Don't read link target for symlinks decoration to avoid exceptions

The code is not needed, because File.isDirectory() works fine for links
too, and an attempt to resolve a link if the actual file is a real file
will be terminated with exception.

Bug: 475063
Change-Id: I23dd6989aba65987a0a657749259ed2c766b9cc8
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingViewLabelProvider.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties