diff options
author | Uwe Stieber | 2012-06-01 13:55:04 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-06-01 13:55:04 +0000 |
commit | 0a7fc28da4ba46ca5d62660c7a9bd31c75c1f068 (patch) | |
tree | aa32e0ca355e7f073ca440d556fd1705f7eec99b /admin | |
parent | 3968410db7f1f712726b219f3f6fc90c9f0663da (diff) | |
download | org.eclipse.tcf-0a7fc28da4ba46ca5d62660c7a9bd31c75c1f068.tar.gz org.eclipse.tcf-0a7fc28da4ba46ca5d62660c7a9bd31c75c1f068.tar.xz org.eclipse.tcf-0a7fc28da4ba46ca5d62660c7a9bd31c75c1f068.zip |
Target Explorer: Fix FindBugs warnings
Diffstat (limited to 'admin')
-rw-r--r-- | admin/findbugs-exclude.xml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/admin/findbugs-exclude.xml b/admin/findbugs-exclude.xml index a643b03c8..b4db52592 100644 --- a/admin/findbugs-exclude.xml +++ b/admin/findbugs-exclude.xml @@ -58,6 +58,7 @@ <Method name="start" params="org.osgi.framework.BundleContext" returns="void"/> <Method name="stop" params="org.osgi.framework.BundleContext" returns="void"/> <Class name="~.*\.Activator"/> + <Class name="org.eclipse.tcf.te.runtime.properties.PropertiesContainer"/> </Or> </Match> @@ -74,10 +75,14 @@ </And> </Match> - <!-- Ignore all EI_EXPOSE_REP violations for IAdapterFactory#getAdapterList() --> + <!-- Ignore EI_EXPOSE_REP --> <Match> <Bug pattern="EI_EXPOSE_REP"/> - <Method name="getAdapterList"/> + <Or> + <Method name="getAdapterList"/> + <Class name="org.eclipse.tcf.te.tcf.filesystem.core.internal.utils.FileState"/> + <Package name="~org\.eclipse\.tcf\.te\.tcf\.filesystem\.core\.internal\.operations\..*"/> + </Or> </Match> <!-- Ignore EI_EXPOSE_REP2 --> @@ -86,7 +91,7 @@ <Or> <Class name="org.eclipse.tcf.te.ui.views.handler.UpdateActiveExtensionsOperation"/> <Class name="org.eclipse.tcf.te.ui.views.handler.UpdateActiveFiltersOperation"/> - <Class name="org.eclipse.tcf.te.tcf.terminals.core.launcher.TerminalsStreamsListener"/> + <Class name="~org\.eclipse\.tcf\.te\.tcf\.terminals\.core\.launcher\.TerminalsStreamsListener.*"/> </Or> </Match> @@ -105,6 +110,7 @@ <Or> <Class name="org.eclipse.tcf.te.launch.ui.tabs.filetransfers.AbstractFileTransferSection"/> <Class name="org.eclipse.tcf.te.ui.tables.properties.NodePropertiesTableTableNode"/> + <Class name="~org\.eclipse\.tcf\.te\.tcf\.terminals\.core\.launcher\.TerminalsStreamsListener.*"/> </Or> </Match> @@ -120,6 +126,18 @@ <Package name="~org\.eclipse\.tcf\.te\.ui\.trees\..*"/> </Match> + <!-- Ignore DMI_HARDCODED_ABSOLUTE_FILENAME in Host --> + <Match> + <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/> + <Class name="org.eclipse.tcf.te.runtime.utils.Host"/> + </Match> + + <!-- Ignore WA_NOT_IN_LOOP in ProcessOutputReaderThread --> + <Match> + <Bug pattern="WA_NOT_IN_LOOP"/> + <Class name="org.eclipse.tcf.te.runtime.processes.ProcessOutputReaderThread"/> + </Match> + <!-- Filters for org.eclipse.tcf bundle --> <Match> <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/> |