kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Liu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KYLIN-2907) Check if a number is a positive integer
Date Wed, 24 Jan 2018 10:57:00 GMT

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

Billy Liu resolved KYLIN-2907.
------------------------------
       Resolution: Duplicate
         Assignee: Wang, Gang  (was: hongbin ma)
    Fix Version/s:     (was: Future)
                   v2.3.0

> Check if a number is a positive integer 
> ----------------------------------------
>
>                 Key: KYLIN-2907
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2907
>             Project: Kylin
>          Issue Type: Bug
>          Components: Tools, Build and Test
>    Affects Versions: v2.1.0
>         Environment: centos64
>            Reporter: hedong.wang
>            Assignee: Wang, Gang
>            Priority: Major
>              Labels: newbie, patch, scope
>             Fix For: v2.3.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> The function isPositiveShort does not seem correct, located in the core-common/src/main/java/org/apache/kylin/common/util/BytesUtil.java.
> 0xFFFF7000 should be 0xFFFF8000?!
> code:
> public static boolean isPositiveShort(int i) {
> 	return (i & 0xFFFF7000) == 0;
> }



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

Mime
View raw message