[GitHub] [carbondata] QiangCai opened a new pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] QiangCai opened a new pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox

QiangCai opened a new pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782


    ### Why is this PR needed?
    1. pointless bitwise expression
   2. field can be local
   3. standard Charset object can be used
   4. unecessary conversion to String
   5. unecessary interface modifier
   6. unecessary semicolon
   7. duplicate condition in 'if' statement
   8. 'if' statement with common parts
   9. Redundant 'if' statement
   10. unnecessary 'null' check before method call
   11. Redundant local variable
   12. unused import
    ### What changes were proposed in this PR?
   
       
    ### Does this PR introduce any user interface change?
    - No
    - Yes. (please explain the change and update document)
   
    ### Is any new testcase added?
    - No
    - Yes
   
       
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] CarbonDataQA1 commented on pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox

CarbonDataQA1 commented on pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782#issuecomment-636662453


   Build Failed  with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1391/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] CarbonDataQA1 commented on pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782#issuecomment-636662968


   Build Failed  with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3115/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] ajantha-bhat commented on pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox
In reply to this post by GitBox

ajantha-bhat commented on pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782#issuecomment-636989906


   @QiangCai : you are going through every file by file and doing it ? big work!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] QiangCai commented on pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox
In reply to this post by GitBox

QiangCai commented on pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782#issuecomment-637256162


   @ajantha-bhat Intellij Idea has this function in menu Analyze/inspect code, it will output a report which can be improved. I hope to check all suggestions in the report one by one and fix them.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] QiangCai closed pull request #3782: [WIP] Fix the result of inspecting code in Intellij IDEA

GitBox
In reply to this post by GitBox

QiangCai closed pull request #3782:
URL: https://github.com/apache/carbondata/pull/3782


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]