You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/03 16:46:00 UTC

[jira] [Created] (HIVE-26290) Remove useless calls to DateTimeFormatter#withZone without assignment

Stamatis Zampetakis created HIVE-26290:
------------------------------------------

             Summary: Remove useless calls to DateTimeFormatter#withZone without assignment
                 Key: HIVE-26290
                 URL: https://issues.apache.org/jira/browse/HIVE-26290
             Project: Hive
          Issue Type: Task
          Components: HiveServer2
            Reporter: Stamatis Zampetakis
            Assignee: Stamatis Zampetakis


There are some places in the code calling \{{DateTimeFormatter#withZone}} without assigning the result anywhere. This basically makes the call useless since the method does not modify the formatter instance but always creates a new one.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)