Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-385

Refactor hudi scala checkstyle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Delivered
    • None
    • None
    • code-quality
    • None

    Description

      Currently, the level of scala codestyle rule is warning, it's better check these rules one by one and refactor scala codes then now.

       

      Furthermore, in order to sync to java codestyle, needs to add two rules. One is BlockImportChecker which allows to ensure that only single imports are used in order to minimize merge errors in import declarations,

      another is ImportOrderChecker which checks that imports are grouped and ordered according to the style configuration.

       

      Summary

      1, check scala checkstyle rules one by one, change some warning level to error.

      2, add ImportOrderChecker and BlockImportChecker.

       

      Attachments

        Activity

          People

            lamber-ken lamber-ken
            lamber-ken lamber-ken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h