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

Use objects and abstract classes in for Kind and SessionState.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: REPL, Server
    • Labels:
      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

            • Assignee:
              aa8y Arun Allamsetty
              Reporter:
              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