From dc8c662f26cfd0fbe928de6fd30c32706b37e743 Mon Sep 17 00:00:00 2001 From: Ethan Eldridge Date: Wed, 9 May 2018 01:21:55 -0400 Subject: [PATCH] Fix #213 Add threadsafe note for pretty printer --- shared/src/main/scala/scala/xml/PrettyPrinter.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/src/main/scala/scala/xml/PrettyPrinter.scala b/shared/src/main/scala/scala/xml/PrettyPrinter.scala index b5f41d157..cce680246 100755 --- a/shared/src/main/scala/scala/xml/PrettyPrinter.scala +++ b/shared/src/main/scala/scala/xml/PrettyPrinter.scala @@ -21,6 +21,7 @@ import Utility.sbToString * @author Burak Emir * @param width the width to fit the output into * @param step indentation + * @note This class is not threadsafe and should not be accessed by multiple threads at the same time. */ class PrettyPrinter(width: Int, step: Int, minimizeEmpty: Boolean) {