diff --git a/.scalafmt.conf b/.scalafmt.conf index 6cf46bd0..bc3a4570 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 2.5.3 +version = 2.6.2 align.preset = true danglingParentheses.preset = true diff --git a/api/shared/src/main/scala/play/twirl/api/TwirlHelperImports.scala b/api/shared/src/main/scala/play/twirl/api/TwirlHelperImports.scala index 1cf9b731..ac9a81df 100644 --- a/api/shared/src/main/scala/play/twirl/api/TwirlHelperImports.scala +++ b/api/shared/src/main/scala/play/twirl/api/TwirlHelperImports.scala @@ -16,7 +16,7 @@ object TwirlHelperImports { x.asScala } - /** Allows inline formatting of java.util.Date */ + /** Allows inline formatting of java.util.Date */ implicit class TwirlRichDate(date: java.util.Date) { def format(pattern: String): String = { new java.text.SimpleDateFormat(pattern).format(date) diff --git a/parser/src/main/scala/play/twirl/parser/TwirlParser.scala b/parser/src/main/scala/play/twirl/parser/TwirlParser.scala index c34ef5a8..ba972a4e 100644 --- a/parser/src/main/scala/play/twirl/parser/TwirlParser.scala +++ b/parser/src/main/scala/play/twirl/parser/TwirlParser.scala @@ -252,7 +252,8 @@ class TwirlParser(val shouldParseInclusiveDot: Boolean) { positional } - /** Recursively match pairs of prefixes and suffixes and return the consumed characters + /** + * Recursively match pairs of prefixes and suffixes and return the consumed characters * * Terminates at EOF. */