Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2771

Useless Operation On Immutable Classes called in DocumentationHandler and ValueHandler.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.2
    • 6.0.1
    • jBPM Core
    • None

      Description of problem:
      The classes:

      org.jbpm.compiler.xml.processes.ValueHandler
      org.jbpm.bpmn2.xml.DocumentationHandler

      contain line:

      text.trim();

      which is basically useless because it's called on a string which is a immutable object. The value is not used anywhere.

      Please remove the line if it's not required or assign the value returned from the statement.

              swiderski.maciej Maciej Swiderski (Inactive)
              mbaluch@redhat.com Marek Baluch
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Cheng Zhang (Inactive), Maciej Swiderski (Inactive), Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: