Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1349

EdmTime use synchronized TimeZone.getTimeZone("GMT")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • V2 2.0.11
    • V2 2.0.12
    • odata2-core
    • None

    Description

      Problem:

      EdmTime.class:internalValueToString calls TimeZone.getTimeZone("GMT") which is synchronized. This adds overhead to apps using this function.

      Possible Solution:
      Either use a more modern class like ZoneId.of() or use a static variable to reuse the timezone.

      Attachments

        Activity

          People

            mirbo mibo
            psteuer Patrik Steuer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: