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

Simplify step handler and date formatting in BatchJobExecutionResourceDefinition

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: