Uploaded image for project: 'Empire-DB'
  1. Empire-DB
  2. EMPIREDB-347

Avoid unneccessary instances of SimpleDateFormat in ObjectUtils

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • empire-db-2.5.1
    • Core
    • None

    Description

      In ObjectUtils a SimpleDateFormat instance is crated for each call to formatDate. 

      Use ThreadLocal instead.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            doebele Rainer Döbele
            doebele Rainer Döbele
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment