spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From punya <>
Subject [GitHub] incubator-spark pull request: Migrate Java code to Scala or move i...
Date Wed, 19 Feb 2014 00:50:02 GMT
Github user punya commented on the pull request:
    Unfortunately, a val in an object translates into a zero-argument static method rather
than a static final field. There was a plan to add a @static annotation in Scala 2.10 which
would have allowed people to create such fields, but that was reverted before release.
    As a result, we can either keep StorageLevels in Java for now, convert it to Scala now
and break API compatibility for existing Java users, or wait until @static arrives in a future
Scala version.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at or file a JIRA ticket with INFRA.

View raw message