diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:22:57 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:35:43 +0100 |
commit | fef1af300edfa0697f9d8f749a5c9398f209bf36 (patch) | |
tree | 78596637a0bf86feee58f1d78ca63f20c5120c52 /doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala | |
parent | ef0daf8eda353e285275312919c5bee42803c3cb (diff) | |
download | dotty-fef1af300edfa0697f9d8f749a5c9398f209bf36.tar.gz dotty-fef1af300edfa0697f9d8f749a5c9398f209bf36.tar.bz2 dotty-fef1af300edfa0697f9d8f749a5c9398f209bf36.zip |
Rename `java.scala` -> `JavaConverters.scala`
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) } |