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

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Tue Sep 13 08:54:26 EDT 2011


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

Libor Zoubek closed JBIDE-9263.
-------------------------------



> 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/Servers
>    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