[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9263) Ignore launch command code is duplicated across several classes

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Jun 28 03:57:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim resolved JBIDE-9263.
-------------------------------------

    Resolution: Done


committed to TRUNK (3.3.0.M3)

> 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

        


More information about the jbosstools-issues mailing list