[
https://issues.apache.org/jira/browse/LIVY-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Saisai Shao updated LIVY-415:
-----------------------------
Fix Version/s: 0.5.0
> Use objects and abstract classes in for Kind and SessionState.
> --------------------------------------------------------------
>
> Key: LIVY-415
> URL: https://issues.apache.org/jira/browse/LIVY-415
> Project: Livy
> Issue Type: Improvement
> Components: REPL, Server
> Reporter: Arun Allamsetty
> Priority: Trivial
> Fix For: 0.5.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)