Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-415

Use objects and abstract classes in for Kind and SessionState.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.5.0
    • REPL, Server
    • None

    Description

      Scala lets us define Singleton Objects (https://docs.scala-lang.org/tour/singleton-objects.html) rather than creating (case) classes and which just have a default constructor. Also, using abstract classes helps with brevity in this case as we can assign default definitions to the functions we need.

      Attachments

        Activity

          People

            aa8y Arun Allamsetty
            aa8y Arun Allamsetty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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