Skip to content

Commit 129ce22

Browse files
committed
Remove out-of-date version from docs
1 parent 7ed0685 commit 129ce22

29 files changed

+1
-36
lines changed

Diff for: shared/src/main/scala/scala/xml/Attribute.scala

-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package xml
1414
* convenient construction and deconstruction.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
object Attribute {
2019
def unapply(x: Attribute) = x match {
@@ -47,7 +46,6 @@ object Attribute {
4746
* [[scala.xml.PrefixedAttribute]] and [[scala.xml.UnprefixedAttribute]].
4847
*
4948
* @author Burak Emir
50-
* @version 1.0
5149
*/
5250
abstract trait Attribute extends MetaData {
5351
def pre: String // will be null if unprefixed

Diff for: shared/src/main/scala/scala/xml/Document.scala

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ package xml
1616
* Also plays the role of an `XMLEvent` for pull parsing.
1717
*
1818
* @author Burak Emir
19-
* @version 1.0, 26/04/2005
2019
*/
2120
@SerialVersionUID(-2289320563321795109L)
2221
class Document extends NodeSeq with pull.XMLEvent with Serializable {

Diff for: shared/src/main/scala/scala/xml/EntityRef.scala

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package xml
1313
* The class `EntityRef` implements an XML node for entity references.
1414
*
1515
* @author Burak Emir
16-
* @version 1.0
1716
* @param entityName the name of the entity reference, for example `amp`.
1817
*/
1918
case class EntityRef(entityName: String) extends SpecialNode {

Diff for: shared/src/main/scala/scala/xml/Group.scala

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package xml
1313
* A hack to group XML nodes in one node for output.
1414
*
1515
* @author Burak Emir
16-
* @version 1.0
1716
*/
1817
final case class Group(nodes: Seq[Node]) extends Node {
1918
override def theSeq = nodes

Diff for: shared/src/main/scala/scala/xml/NamespaceBinding.scala

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import Utility.sbToString
1818
* prefix nor uri may be empty, which is not checked.
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
2221
*/
2322
@SerialVersionUID(0 - 2518644165573446725L)
2423
case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding) extends AnyRef with Equality {

Diff for: shared/src/main/scala/scala/xml/Node.scala

-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package xml
1414
* convenient deconstruction.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
object Node {
2019
/** the constant empty attribute sequence */
@@ -38,7 +37,6 @@ object Node {
3837
* - [[scala.xml.Text]] — Stand-alone parsed character data
3938
*
4039
* @author Burak Emir and others
41-
* @version 1.1
4240
*/
4341
abstract class Node extends NodeSeq {
4442

Diff for: shared/src/main/scala/scala/xml/NodeBuffer.scala

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package xml
1818
* Calling the hashcode function will result in a runtime error.
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
2221
*/
2322
class NodeBuffer extends scala.collection.mutable.ArrayBuffer[Node] {
2423

Diff for: shared/src/main/scala/scala/xml/NodeSeq.scala

-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import scala.language.implicitConversions
1818
* This object ...
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
2221
*/
2322
object NodeSeq {
2423
final val Empty = fromSeq(Nil)
@@ -40,7 +39,6 @@ object NodeSeq {
4039
* and comprehension methods.
4140
*
4241
* @author Burak Emir
43-
* @version 1.0
4442
*/
4543
abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with SeqLike[Node, NodeSeq] with Equality with Serializable {
4644

Diff for: shared/src/main/scala/scala/xml/Null.scala

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import scala.collection.Iterator
1818
* sort of a linked list of tails.
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
2221
*/
2322
case object Null extends MetaData {
2423
override def iterator = Iterator.empty

Diff for: shared/src/main/scala/scala/xml/PCData.scala

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ package xml
1515
* sections in the input and is to be preserved as CDATA section in the output.
1616
*
1717
* @author Burak Emir
18-
* @version 1.0
1918
*/
2019
class PCData(data: String) extends Atom[String](data) {
2120

@@ -35,7 +34,6 @@ class PCData(data: String) extends Atom[String](data) {
3534
* convenient construction and deconstruction.
3635
*
3736
* @author Burak Emir
38-
* @version 1.0
3937
*/
4038
object PCData {
4139
def apply(data: String) = new PCData(data)

Diff for: shared/src/main/scala/scala/xml/PrettyPrinter.scala

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import Utility.sbToString
1818
* XML nodes.
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
22-
*
2321
* @param width the width to fit the output into
2422
* @param step indentation
2523
*/

Diff for: shared/src/main/scala/scala/xml/QNode.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package xml
1414
* its namespace URI
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
object QNode {
2019
def unapplySeq(n: Node) = Some((n.scope.getURI(n.prefix), n.label, n.attributes, n.child))

Diff for: shared/src/main/scala/scala/xml/Text.scala

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class Text(data: String) extends Atom[String](data) {
3131
* convenient construction and deconstruction.
3232
*
3333
* @author Burak Emir
34-
* @version 1.0
3534
*/
3635
object Text {
3736
def apply(data: String) = new Text(data)

Diff for: shared/src/main/scala/scala/xml/Unparsed.scala

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class Unparsed(data: String) extends Atom[String](data) {
3131
* convenient construction and deconstruction.
3232
*
3333
* @author Burak Emir
34-
* @version 1.0
3534
*/
3635
object Unparsed {
3736
def apply(data: String) = new Unparsed(data)

Diff for: shared/src/main/scala/scala/xml/XML.scala

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ object MinimizeMode extends Enumeration {
5454
* when XML is handled using `Symbol` nodes.
5555
*
5656
* @author Burak Emir
57-
* @version 1.0, 25/04/2005
5857
*/
5958
object XML extends XMLLoader[Elem] {
6059
val xml = "xml"

Diff for: shared/src/main/scala/scala/xml/dtd/impl/Base.scala

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package xml.dtd.impl
1313
* Basic regular expressions.
1414
*
1515
* @author Burak Emir
16-
* @version 1.0
1716
*/
1817

1918
@deprecated("This class will be removed", "2.10.0")

Diff for: shared/src/main/scala/scala/xml/dtd/impl/DetWordAutom.scala

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package xml.dtd.impl
1818
* the partial function 'finals' is defined.
1919
*
2020
* @author Burak Emir
21-
* @version 1.0
2221
*/
2322
// TODO: still used in ContentModel -- @deprecated("This class will be removed", "2.10.0")
2423
private[dtd] abstract class DetWordAutom[T <: AnyRef] {

Diff for: shared/src/main/scala/scala/xml/dtd/impl/Inclusion.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package xml.dtd.impl
1414
* inspired by the ''AMoRE automata library''.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
@deprecated("This class will be removed", "2.10.0")
2019
private[dtd] trait Inclusion[A <: AnyRef] {

Diff for: shared/src/main/scala/scala/xml/dtd/impl/PointedHedgeExp.scala

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package xml.dtd.impl
1313
* Pointed regular hedge expressions, a useful subclass of regular hedge expressions.
1414
*
1515
* @author Burak Emir
16-
* @version 1.0
1716
*/
1817
@deprecated("This class will be removed", "2.10.0")
1918
private[dtd] abstract class PointedHedgeExp extends Base {

Diff for: shared/src/main/scala/scala/xml/dtd/impl/SyntaxError.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package xml.dtd.impl
1414
* syntactically incorrect expression is detected.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
@deprecated("This class will be removed", "2.10.0")
2019
private[dtd] class SyntaxError(e: String) extends RuntimeException(e)

Diff for: shared/src/main/scala/scala/xml/dtd/impl/WordBerrySethi.scala

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import scala.collection.{ immutable, mutable }
1616
* celebrated position automata construction (also called ''Berry-Sethi'' or ''Glushkov'').
1717
*
1818
* @author Burak Emir
19-
* @version 1.0
2019
*/
2120
// TODO: still used in ContentModel -- @deprecated("This class will be removed", "2.10.0")
2221
@deprecated("This class will be removed", "2.10.0")

Diff for: shared/src/main/scala/scala/xml/dtd/impl/WordExp.scala

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ package xml.dtd.impl
3535
* }}}
3636
*
3737
* @author Burak Emir
38-
* @version 1.0
3938
*/
4039
// TODO: still used in ContentModel -- @deprecated("This class will be removed", "2.10.0")
4140
private[dtd] abstract class WordExp extends Base {

Diff for: shared/src/main/scala/scala/xml/factory/LoggedNodeFactory.scala

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ package factory
2828
* }}}
2929
*
3030
* @author Burak Emir
31-
* @version 1.0
3231
*/
3332
@deprecated("This trait will be removed.", "2.11")
3433
trait LoggedNodeFactory[A <: Node] extends NodeFactory[A] {

Diff for: shared/src/main/scala/scala/xml/parsing/ConstructingHandler.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package parsing
1414
* Implementation of MarkupHandler that constructs nodes.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
abstract class ConstructingHandler extends MarkupHandler {
2019
val preserveWS: Boolean

Diff for: shared/src/main/scala/scala/xml/parsing/ExternalSources.scala

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import scala.io.Source
1717

1818
/**
1919
* @author Burak Emir
20-
* @version 1.0
2120
*/
2221
trait ExternalSources {
2322
self: ExternalSources with MarkupParser with MarkupHandler =>

Diff for: shared/src/main/scala/scala/xml/parsing/MarkupHandler.scala

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ import scala.xml.dtd._
1616

1717
/**
1818
* class that handles markup - provides callback methods to MarkupParser.
19-
* the default is nonvalidating behaviour
19+
* the default is nonvalidating behaviour
2020
*
2121
* @author Burak Emir
22-
* @version 1.0
23-
*
2422
* @todo can we ignore more entity declarations (i.e. those with extIDs)?
2523
* @todo expanding entity references
2624
*/

Diff for: shared/src/main/scala/scala/xml/parsing/MarkupParser.scala

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import Utility.Escapes.{ pairs => unescape }
2525
* collected using side-effects.
2626
*
2727
* @author Burak Emir
28-
* @version 1.0
2928
*/
3029
trait MarkupParser extends MarkupParserCommon with TokenTests {
3130
self: MarkupParser with MarkupHandler =>

Diff for: shared/src/main/scala/scala/xml/transform/BasicTransformer.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ package transform
1414
* A class for XML transformations.
1515
*
1616
* @author Burak Emir
17-
* @version 1.0
1817
*/
1918
abstract class BasicTransformer extends Function1[Node, Node] {
2019
protected def unchanged(n: Node, ns: Seq[Node]) =

Diff for: shared/src/main/scala/scala/xml/transform/RewriteRule.scala

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ package transform
1616
* is not applied.
1717
*
1818
* @author Burak Emir
19-
* @version 1.0
2019
*/
2120
abstract class RewriteRule extends BasicTransformer {
2221
/** a name for this rewrite rule */

0 commit comments

Comments
 (0)