[jira] [Commented] (CARBONDATA-329) constant final class changed to interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-329) constant final class changed to interface

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592192#comment-15592192 ]

ASF GitHub Bot commented on CARBONDATA-329:
-------------------------------------------

Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/249#discussion_r84315712
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java ---
    @@ -19,866 +19,859 @@
     
     package org.apache.carbondata.core.constants;
     
    -public final class CarbonCommonConstants {
    +public interface CarbonCommonConstants {
    --- End diff --
   
    why to change it to interface? I do not think it is a good approach to keep constant value inside interface


> constant final class changed to interface
> -----------------------------------------
>
>                 Key: CARBONDATA-329
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-329
>             Project: CarbonData
>          Issue Type: Improvement
>          Components: core
>            Reporter: abhishek
>            Priority: Trivial
>
> Constant file's is final class and it is now changed to interface. Implicitly fields are static and final.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)