Skip to content

Commit

Permalink
Change docstring to regular comment to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Aug 18, 2017
1 parent 058d3f0 commit 2963379
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ import scalafix.Patch
import scalafix.rewrite.Rewrite
import scalafix.rewrite.RewriteCtx

/** Rewrite Xml Literal to Xml Interpolator.
*
* e.g.
* {{{
* // before:
* <div>{ "Hello" }</div>
*
* // after:
* xml"<div>${ "Hello" }</div>"
* }}}
*
* This only rewrites xml literals in expression position:
* Xml patterns will not be supported by the xml interpolator,
* until we know how to rewrite `case <a>{ns @ _*}</a>`.
*/
/* Rewrite Xml literals to Xml interpolators.
*
* e.g.
* {{{
* // before:
* <div>{ "Hello" }</div>
*
* // after:
* xml"<div>${ "Hello" }</div>"
* }}}
*
* This only rewrites xml literals in expression position:
* Xml patterns will not be supported by the xml interpolator,
* until we know how to rewrite `case <a>{ns @ _*}</a>`.
*/
case object RemoveXmlLiterals extends Rewrite {

val singleBracesEscape = LintCategory.warning(
Expand Down

0 comments on commit 2963379

Please sign in to comment.