Ignore launch command code is duplicated across several classes
----------------------------------------------------------------
Key: JBIDE-9263
URL:
https://issues.jboss.org/browse/JBIDE-9263
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.3.0.M2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M3
The following code snippet, that gets the "ignore launch command" setting from
pereferences is duplicated across serveral classes
{code}
String tmp =
callback.getServer().getAttribute(IJBossToolingConstants.IGNORE_LAUNCH_COMMANDS,
(String)null);
Boolean b = tmp == null ? new Boolean(false) : new Boolean(tmp);
executeShellScripts.setSelection(b.booleanValue());
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira