Skip to content

Commit 8ba4987

Browse files
Joe Barnesashawley
Joe Barnes
authored andcommitted
Improve wording on stack deprecation
1 parent 859c34e commit 8ba4987

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,28 @@ 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
*
4545
* @since 1.0.7
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
*
5252
* @since 1.0.7
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
*
5959
* @since 1.0.7
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
*
6666
* @since 1.0.7
6767
*/

0 commit comments

Comments
 (0)