Skip to content

Commit 58c563f

Browse files
committed
Method + in class Char is deprecated (since 2.13.0)
Adding a number and a String is deprecated. Use the string interpolation `s"$num$str"`
1 parent 51e736d commit 58c563f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/main/scala/scala/xml/dtd/ExternalID.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package dtd
1818
sealed abstract class ExternalID extends parsing.TokenTests {
1919
def quoted(s: String) = {
2020
val c = if (s contains '"') '\'' else '"'
21-
c + s + c
21+
c.toString + s + c
2222
}
2323

2424
// public != null: PUBLIC " " publicLiteral " " [systemLiteral]

0 commit comments

Comments
 (0)