Skip to content

Commit 97e983e

Browse files
Joe Barnesashawley
Joe Barnes
authored andcommitted
Improve wording on stack deprecation
1 parent 9df41ba commit 97e983e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,30 @@ abstract class FactoryAdapter extends DefaultHandler with factory.XMLLoader[Node
4040
val buffer = new StringBuilder()
4141
/** List of attributes
4242
*
43-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
43+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
4444
*
45-
* @since 1.0.7
45+
* @since 1.1.0
4646
*/
4747
var attribStack = List.empty[MetaData]
4848
/** List of elements
4949
*
50-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
50+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
5151
*
52-
* @since 1.0.7
52+
* @since 1.1.0
5353
*/
5454
var hStack = List.empty[Node] // [ element ] contains siblings
5555
/** List of element names
5656
*
57-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
57+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
5858
*
59-
* @since 1.0.7
59+
* @since 1.1.0
6060
*/
6161
var tagStack = List.empty[String]
6262
/** List of namespaces
6363
*
64-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
64+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
6565
*
66-
* @since 1.0.7
66+
* @since 1.1.0
6767
*/
6868
var scopeStack = List.empty[NamespaceBinding]
6969

0 commit comments

Comments
 (0)