Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5736

Simple language - Unary operators should be more lenient and only be applicable if previous node is a function expression

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.5, 2.10.3, 2.11.0
    • camel-core
    • None
    • Unknown

    Description

      When using ++ or – unary operators. We should only apply this if the previous node is a function, eg such as

      ${header.counter}++
      

      Where as if you use ++ or – for text then its just literal

      ++++ bla bla ++++
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: