Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRené Purrio2018-01-23 06:54:22 -0500
committerRené Purrio2018-01-23 06:55:10 -0500
commit3055b3eec988f1974063e680f430714f20980804 (patch)
tree9e98fce1fe8f23e7094d8d8fad3e77943f6bf00b /bundles
parent77554b90d256f072212d58557f4686884a8bed2b (diff)
downloadeclipse.platform.team-3055b3eec988f1974063e680f430714f20980804.tar.gz
eclipse.platform.team-3055b3eec988f1974063e680f430714f20980804.tar.xz
eclipse.platform.team-3055b3eec988f1974063e680f430714f20980804.zip
Bug 530116 - [sonar] Resolve "Write to static field from instance meth."I20180127-1500I20180127-0150I20180126-2040
Change-Id: Ib9562b2f96d24b3745e7f40b64e3eac7695aed7b Signed-off-by: René Purrio <rpurrio@itemis.de>
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/PsfFilenameStore.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/PsfFilenameStore.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/PsfFilenameStore.java
index 8ef8c68a4..c2cf918da 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/PsfFilenameStore.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/PsfFilenameStore.java
@@ -16,7 +16,9 @@ import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.*;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWindow;
public class PsfFilenameStore extends PsfStore {
@@ -25,7 +27,7 @@ public class PsfFilenameStore extends PsfStore {
// If a PSF file was selected when the wizard was opened, then this is it.
// This is only a cache; it is not part of the history until the user has used it.
- private static String _selectedFilename = null;
+ private String _selectedFilename = null;
private static PsfFilenameStore instance;

Back to the top