We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe49539 commit b961e5eCopy full SHA for b961e5e
library/src/scala/util/matching/Regex.scala
@@ -886,7 +886,7 @@ object Regex {
886
private[matching] trait Replacement {
887
protected def matcher: Matcher
888
889
- private val sb = new java.lang.StringBuffer // StringBuffer for JDK 8 compatibility
+ private val sb = new java.lang.StringBuilder
890
891
// Appends the remaining input and returns the result text.
892
def replaced = {
0 commit comments