Skip to content

Commit ef969da

Browse files
committed
Fix Travis build failure from migration-manager (mimaReportBinaryIssues)
* src/main/scala/scala/xml/PrettyPrinter.scala (PrettyPrinter): Convert class default parameter to alternate constructor.
1 parent d3b1ec1 commit ef969da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ import Utility.sbToString
2323
* @param width the width to fit the output into
2424
* @param step indentation
2525
*/
26-
class PrettyPrinter(width: Int, step: Int, minimizeEmpty: Boolean = false) {
26+
class PrettyPrinter(width: Int, step: Int, minimizeEmpty: Boolean) {
27+
28+
def this(width: Int, step: Int) = this(width, step, minimizeEmpty = false)
2729

2830
val minimizeMode = if (minimizeEmpty) MinimizeMode.Always else MinimizeMode.Default
2931
class BrokenException() extends java.lang.Exception

0 commit comments

Comments
 (0)