Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15534

Simplify step handler and date formatting in BatchJobExecutionResourceDefinition

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 26.0.0.Beta1, 26.0.0.Final
    • None
    • Batch
    • None

      org.wildfly.extension.batch.jberet.deployment.BatchJobExecutionResourceDefinition currently defines various anonymous inner classes to deal with create-time, start-time, end-time, update-time. They can be simplified with appropriate method pointers.

      These step handlers currently format these date values with SimpleDateFormat, creating one instance of it for each operation. This is not efficient and can be replaced with java.time.DateTimeFormat.

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: