Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3125

Some LRA&RTS tests uses wrong String.format parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • 5.9.5.Final
    • 5.9.3.Final
    • LRA, REST
    • None

      Some tests uses wrong String.format. For example wrong number of arguments for the format methdo

      System.out.printf("SRA: %s: Updating hotel participant state to: ", bookingId, status);
      

      should be

      System.out.printf("SRA: %s: Updating hotel participant state to: %s", bookingId, status);
      

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: