Skip to content

Commit eccb7fd

Browse files
Joe Barnesashawley
Joe Barnes
authored andcommitted
Improve wording on stack deprecation
1 parent 1b42285 commit eccb7fd

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
@@ -41,30 +41,30 @@ abstract class FactoryAdapter extends DefaultHandler with factory.XMLLoader[Node
4141
val buffer = new StringBuilder()
4242
/** List of attributes
4343
*
44-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
44+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
4545
*
46-
* @since 1.0.7
46+
* @since 1.1.0
4747
*/
4848
var attribStack = List.empty[MetaData]
4949
/** List of elements
5050
*
51-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
51+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
5252
*
53-
* @since 1.0.7
53+
* @since 1.1.0
5454
*/
5555
var hStack = List.empty[Node] // [ element ] contains siblings
5656
/** List of element names
5757
*
58-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
58+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
5959
*
60-
* @since 1.0.7
60+
* @since 1.1.0
6161
*/
6262
var tagStack = List.empty[String]
6363
/** List of namespaces
6464
*
65-
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
65+
* Previously was a mutable [[scala.collection.mutable.Stack Stack]], but is now a mutable reference to an immutable [[scala.collection.immutable.List List]].
6666
*
67-
* @since 1.0.7
67+
* @since 1.1.0
6868
*/
6969
var scopeStack = List.empty[NamespaceBinding]
7070

0 commit comments

Comments
 (0)