Skip to content

Commit 9df41ba

Browse files
committed
Document dropping mutuable.Stack
Make a note of binary compatability change in scaladoc for members that were converted to mutable.Stack.
1 parent 245ed85 commit 9df41ba

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

+24
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,33 @@ abstract class FactoryAdapter extends DefaultHandler with factory.XMLLoader[Node
3838
var rootElem: Node = null
3939

4040
val buffer = new StringBuilder()
41+
/** List of attributes
42+
*
43+
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
44+
*
45+
* @since 1.0.7
46+
*/
4147
var attribStack = List.empty[MetaData]
48+
/** List of elements
49+
*
50+
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
51+
*
52+
* @since 1.0.7
53+
*/
4254
var hStack = List.empty[Node] // [ element ] contains siblings
55+
/** List of element names
56+
*
57+
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
58+
*
59+
* @since 1.0.7
60+
*/
4361
var tagStack = List.empty[String]
62+
/** List of namespaces
63+
*
64+
* Previously was a [[scala.collection.mutable.Stack]], but is now a mutable [[scala.collection.immutable.List]].
65+
*
66+
* @since 1.0.7
67+
*/
4468
var scopeStack = List.empty[NamespaceBinding]
4569

4670
var curTag: String = null

0 commit comments

Comments
 (0)