Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Erven2016-11-02 18:36:55 -0400
committerHannes Erven2016-11-02 18:36:55 -0400
commitf8278c40106444e37982c2c9d5403e285d01f2f3 (patch)
tree5babfb78ca5b8769836a7aa0d900e254213043ec
parent06d0bfc22d45be5dd4c0dd12cd29b93bd57a469e (diff)
downloadorg.eclipse.libra-f8278c40106444e37982c2c9d5403e285d01f2f3.tar.gz
org.eclipse.libra-f8278c40106444e37982c2c9d5403e285d01f2f3.tar.xz
org.eclipse.libra-f8278c40106444e37982c2c9d5403e285d01f2f3.zip
[344289] Fix FindBug warnings in WAR Products
FrameworkUIPlugin.singleton needs to stay in use, revert premature removal of assignment
-rw-r--r--plugins/org.eclipse.libra.framework.ui/src/org/eclipse/libra/framework/ui/FrameworkUIPlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.libra.framework.ui/src/org/eclipse/libra/framework/ui/FrameworkUIPlugin.java b/plugins/org.eclipse.libra.framework.ui/src/org/eclipse/libra/framework/ui/FrameworkUIPlugin.java
index add6158..1b06613 100644
--- a/plugins/org.eclipse.libra.framework.ui/src/org/eclipse/libra/framework/ui/FrameworkUIPlugin.java
+++ b/plugins/org.eclipse.libra.framework.ui/src/org/eclipse/libra/framework/ui/FrameworkUIPlugin.java
@@ -36,7 +36,7 @@ import org.eclipse.wst.server.core.IServer;
public class FrameworkUIPlugin extends AbstractUIPlugin {
- protected static FrameworkUIPlugin singleton;
+ private static FrameworkUIPlugin singleton;
protected Map<String, ImageDescriptor> imageDescriptors = new HashMap<String, ImageDescriptor>();
@@ -60,6 +60,7 @@ public class FrameworkUIPlugin extends AbstractUIPlugin {
public FrameworkUIPlugin() {
super();
+ singleton = this;
}
protected ImageRegistry createImageRegistry() {

Back to the top