Skip to content

Commit 66ec1d6

Browse files
EdgeCaseBergashawley
authored andcommittedMay 24, 2018
Fix #213 Add threadsafe note for pretty printer
1 parent 5fc7a1b commit 66ec1d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎shared/src/main/scala/scala/xml/PrettyPrinter.scala

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import Utility.sbToString
2121
* @author Burak Emir
2222
* @param width the width to fit the output into
2323
* @param step indentation
24+
* @note This class is not threadsafe and should not be accessed by multiple threads at the same time.
2425
*/
2526
class PrettyPrinter(width: Int, step: Int, minimizeEmpty: Boolean) {
2627

0 commit comments

Comments
 (0)
Please sign in to comment.