Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-02-23 12:19:36 -0500
committerUwe Stieber2012-02-23 12:19:36 -0500
commit7066ea985bf14557b56efbed8219eb7a530e6efd (patch)
tree8ca226a7b130dab34d648624aa1dcc7dee6647dd
parentba119c0a8a91f652524647e4106fb2fa9b961c1a (diff)
downloadorg.eclipse.tcf-7066ea985bf14557b56efbed8219eb7a530e6efd.tar.gz
org.eclipse.tcf-7066ea985bf14557b56efbed8219eb7a530e6efd.tar.xz
org.eclipse.tcf-7066ea985bf14557b56efbed8219eb7a530e6efd.zip
Target Explorer: Adjust findbugs exclude filter and undo PreferencePage.java renaming
-rw-r--r--findbugs-exclude.xml10
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/PreferencePage.java (renamed from target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/TargetExplorerPreferencePage.java)5
3 files changed, 13 insertions, 4 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
index 2267e66c0..0fb9168bf 100644
--- a/findbugs-exclude.xml
+++ b/findbugs-exclude.xml
@@ -7,4 +7,14 @@
<Method name="stop" params="org.osgi.framework.BundleContext" returns="void"/>
</Or>
</Match>
+
+ <!-- Ignore all NM_SAME_SIMPLE_NAME_AS_SUPERCLASS for PreferencePage/PropertyTester -->
+ <Match>
+ <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
+ <Or>
+ <Class name="~.*\.PreferencePage"/>
+ <Class name="~.*\.PropertyTester"/>
+ </Or>
+ </Match>
+
</FindBugsFilter>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
index 953fb26c7..c5212cfe8 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
@@ -124,7 +124,7 @@
<!-- Preference page contributions -->
<extension point="org.eclipse.ui.preferencePages">
<page
- class="org.eclipse.tcf.te.ui.preferences.TargetExplorerPreferencePage"
+ class="org.eclipse.tcf.te.ui.preferences.PreferencePage"
id="org.eclipse.tcf.te.ui.preferences.general"
name="%preference.page.name">
</page>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/TargetExplorerPreferencePage.java b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/PreferencePage.java
index e79b18f03..44e0b1cca 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/TargetExplorerPreferencePage.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/preferences/PreferencePage.java
@@ -9,7 +9,6 @@
*******************************************************************************/
package org.eclipse.tcf.te.ui.preferences;
-import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
@@ -21,9 +20,9 @@ import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
/**
- * Target Explorer top preference page implementation.
+ * Top preference page implementation.
*/
-public class TargetExplorerPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
+public class PreferencePage extends org.eclipse.jface.preference.PreferencePage implements IWorkbenchPreferencePage {
/* (non-Javadoc)
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)

Back to the top