Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9263

Ignore launch command code is duplicated across several classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M2
    • server
    • None

      The following code snippet, that gets the "ignore launch command" setting from pereferences is duplicated across serveral classes

      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());
      

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: