diff options
Diffstat (limited to 'doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala')
-rw-r--r-- | doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala index 30b3b0de0..5b60cd5f9 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala @@ -4,6 +4,7 @@ package comment trait CommentCleaner { import Regexes._ + import java.util.regex.Matcher def clean(comment: String): List[String] = { def cleanLine(line: String): String = { @@ -18,7 +19,7 @@ trait CommentCleaner { val javadoclessComment = JavadocTags.replaceAllIn(safeComment, { javadocReplacement(_) }) val markedTagComment = SafeTags.replaceAllIn(javadoclessComment, { mtch => - _root_.java.util.regex.Matcher.quoteReplacement(safeTagMarker + mtch.matched + safeTagMarker) + Matcher.quoteReplacement(safeTagMarker + mtch.matched + safeTagMarker) }) markedTagComment.lines.toList map (cleanLine) } |