Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-07-06 12:24:45 +0000
committerThomas Wolf2018-07-07 16:11:28 +0000
commit70d01ef871f64de26390f243613beb5ad6ac8978 (patch)
tree06e261103b2a1e48f08f469534158cb6613b73a4 /org.eclipse.egit.core
parentb5764723c1bef281a3d7d00d6f64af1d016472ca (diff)
downloadegit-70d01ef871f64de26390f243613beb5ad6ac8978.tar.gz
egit-70d01ef871f64de26390f243613beb5ad6ac8978.tar.xz
egit-70d01ef871f64de26390f243613beb5ad6ac8978.zip
mark more jobs as system or user
When browsing some job creations, I noticed that some of the egit internal jobs are not marked as system or user. Change-Id: I8d557bcf5ccfc54e5d27e0f3c1f4455dc62a751a Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.core')
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
index 8a1ac8b825..e66aeb81e9 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
@@ -73,9 +73,9 @@ import org.eclipse.team.core.TeamException;
*/
public class GitProjectData {
- private static final Map<IProject, GitProjectData> projectDataCache = new HashMap<IProject, GitProjectData>();
+ private static final Map<IProject, GitProjectData> projectDataCache = new HashMap<>();
- private static Set<RepositoryMappingChangeListener> repositoryChangeListeners = new HashSet<RepositoryMappingChangeListener>();
+ private static Set<RepositoryMappingChangeListener> repositoryChangeListeners = new HashSet<>();
@SuppressWarnings("synthetic-access")
private static final IResourceChangeListener rcl = new RCL();
@@ -189,7 +189,7 @@ public class GitProjectData {
return super.belongsTo(family);
}
};
-
+ job.setUser(false);
job.schedule();
}
@@ -426,7 +426,7 @@ public class GitProjectData {
private final Map<IPath, RepositoryMapping> mappings = new HashMap<>();
- private final Set<IResource> protectedResources = new HashSet<IResource>();
+ private final Set<IResource> protectedResources = new HashSet<>();
/**
* Construct a {@link GitProjectData} for the mapping

Back to the top