aboutsummaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-10-20 08:54:34 +0100
committerSean Owen <sowen@cloudera.com>2015-10-20 08:54:34 +0100
commit60851bc7bf1fe702cde1d1548efd8016411e1682 (patch)
tree6c470899d1a72bccddd4d5e9ed557a7fcf48935d /yarn
parent8f74aa639759f400120794355511327fa74905da (diff)
downloadspark-60851bc7bf1fe702cde1d1548efd8016411e1682.tar.gz
spark-60851bc7bf1fe702cde1d1548efd8016411e1682.tar.bz2
spark-60851bc7bf1fe702cde1d1548efd8016411e1682.zip
[SPARK-11110][BUILD] Remove transient annotation for parameters.
`transient` annotations on class parameters (not case class parameters or vals) causes compilation errors during compilation with Scala 2.11. I understand that transient *parameters* make no sense, however I don't quite understand why the 2.10 compiler accepted them. Note: in case it is preferred to keep the annotations in case someone would in the future want to redefine them as vals, it would also be possible to just add `val` after the annotation, e.g. `class Foo(transient x: Int)` becomes `class Foo(transient private val x: Int)`. I chose to remove the annotation as it also reduces needles clutter, however please feel free to tell me if you prefer the second option and I'll update the PR Author: Jakob Odersky <jodersky@gmail.com> Closes #9126 from jodersky/sbt-scala-2.11.
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions