Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceHelper.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceHelper.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceHelper.java
index b6d9f3171..22b773418 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceHelper.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceHelper.java
@@ -201,8 +201,7 @@ class DecoratableResourceHelper {
decoratableResource.dirty = false;
decoratableResource.assumeValid = true;
} else {
- if (workspaceIterator != null
- && workspaceIterator.isModified(indexEntry, true))
+ if (workspaceIterator.isModified(indexEntry, true))
decoratableResource.dirty = true;
}
return decoratableResource;

Back to the top