Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4041

SparkVersion.java refactoring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.2, 0.9.0
    • None
    • None

    Description

      I found some code which could be refactored after https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-4005 merged for checking versions.

      [See code|

      https://github.com/apache/zeppelin/blob/master/spark/interpreter/src/main/java/org/apache/zeppelin/spark/SparkVersion.java#L110

      ]

      Method could use semantic majorVersion, minorVersion and patchVersion.

      I think It could be more readable.

      I hope it would be helpful.

      Attachments

        Issue Links

          Activity

            People

              Leejeyeon Leejeyeon
              Leejeyeon Leejeyeon
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 10m
                  10m