- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
PrettyPrinter: description and source differ
Sun, 2011-05-29, 21:48
Hi all,
I am investigating the code of Scala's XML PrettyPrinter. There is
probably something
wrong with the content of:
http://www.scala-lang.org/api/current/index.html#scala.xml.PrettyPrinter
The link to the source code leads to a code with:
case class Para(s: String) extends Item
while the description says:
case class Para (s: String) extends Item with Product with Serializable
Is it really so or is there something wrong with my browser?
Ryszard
All case classes extend Product and Serializable automatically.
On Sun, May 29, 2011 at 17:48, Ryszard Kubiak wrote:
> Hi all,
>
> I am investigating the code of Scala's XML PrettyPrinter. There is probably
> something
> wrong with the content of:
>
> http://www.scala-lang.org/api/current/index.html#scala.xml.PrettyPrinter
>
> The link to the source code leads to a code with:
>
> case class Para(s: String) extends Item
>
> while the description says:
>
> case class Para (s: String) extends Item with Product with Serializable
>
> Is it really so or is there something wrong with my browser?
>
> Ryszard
>