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

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


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