Scala Programming Language
  1. Scala Programming Language
  2. SI-4627

Remove code examples from standard library

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.8.0, Scala 2.8.1, Scala 2.9.0, Scala 2.9.1
    • Fix Version/s: Scala 2.10.0
    • Labels:
      None

      Description

      There a classes like scala.swing.test.UIDemo or scala.util.parsing.combinator.testing.RegexTest which look like example source code having no further use case.

      E. g. run "scala scala.swing.test.UIDemo".

      I'm not sure those two are the only ones.

      I don't think this should be shipped with the standard library. Is it possible to move this code either to the website or have some special separate "example" jar?

        Activity

        Hide
        Simon Ochsenreither added a comment - - edited

        scala/util/parsing/combinator/testing should probably go away completely as well as scala/xml/include/sax/Main.scala.

        Show
        Simon Ochsenreither added a comment - - edited scala/util/parsing/combinator/testing should probably go away completely as well as scala/xml/include/sax/Main.scala.
        Show
        Simon Ochsenreither added a comment - https://github.com/scala/scala/pull/71
        Hide
        Adriaan Moors added a comment -

        Simon, it looks like your pull request did not make it in. Could you please have a look? Thanks!

        Show
        Adriaan Moors added a comment - Simon, it looks like your pull request did not make it in. Could you please have a look? Thanks!
        Hide
        Simon Ochsenreither added a comment -

        Hi Adriaan,

        this seems to be fixed. The Swing examples were moved to examples, the XML and the parsing stuff is deprecated.

        I think this can be closed.

        Show
        Simon Ochsenreither added a comment - Hi Adriaan, this seems to be fixed. The Swing examples were moved to examples, the XML and the parsing stuff is deprecated. I think this can be closed.

          People

          • Assignee:
            Simon Ochsenreither
            Reporter:
            Simon Ochsenreither
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development