kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3187) JDK APIs using the default locale, time zone or character set should be avoided
Date Mon, 16 Apr 2018 01:50:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated KYLIN-3187:
--------------------------
    Description: 
Here are a few examples:

{code}
server-base/src/main/java/org/apache/kylin/rest/service/JobService.java:        Calendar calendar
= Calendar.getInstance();
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/HbaseStreamingInput.java:
       Calendar cal = Calendar.getInstance();
{code}
Locale should be specified.

See CALCITE-1667 for related information.

  was:
Here are a few examples:
{code}
server-base/src/main/java/org/apache/kylin/rest/service/JobService.java:        Calendar calendar
= Calendar.getInstance();
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/HbaseStreamingInput.java:
       Calendar cal = Calendar.getInstance();
{code}
Locale should be specified.

See CALCITE-1667 for related information.


> JDK APIs using the default locale, time zone or character set should be avoided
> -------------------------------------------------------------------------------
>
>                 Key: KYLIN-3187
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3187
>             Project: Kylin
>          Issue Type: Bug
>          Components: REST Service
>            Reporter: Ted Yu
>            Assignee:  Kaige Liu
>            Priority: Major
>              Labels: usability
>
> Here are a few examples:
> {code}
> server-base/src/main/java/org/apache/kylin/rest/service/JobService.java:        Calendar
calendar = Calendar.getInstance();
> storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/HbaseStreamingInput.java:
       Calendar cal = Calendar.getInstance();
> {code}
> Locale should be specified.
> See CALCITE-1667 for related information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message