Fix index diff refresh in LocalNonWorkspaceTypedElement after save
commit505cf2e90538e4ac48f54d0f2cd024237da4f461
authorRobin Stocker <robin@nibor.org>
Thu, 22 Nov 2012 11:54:26 +0000 (22 12:54 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 22 Nov 2012 23:16:09 +0000 (23 00:16 +0100)
treec9639f85395174065d0b1975744ce7c1f5619f02
parent415284a5a872ed9e6405181af3645665a0e65a84
Fix index diff refresh in LocalNonWorkspaceTypedElement after save

With Ifdda37fc51a0cb29145e1c29b09d45317fc068ea, the mapping is no longer
returned for non-existing resources. So use the path to get the mapping.

Also remove the unnecessary check for IFile, which is always true.

Bug: 394166
Change-Id: Ifb13e8f99edd8695f2672f93d2700db42cdadfa6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/compare/LocalNonWorkspaceTypedElement.java