From ff2483213cd689620cac7ad3a1e5c6cad0aaa38c Mon Sep 17 00:00:00 2001 From: Jacob Barber Date: Tue, 13 Nov 2018 19:00:31 -0500 Subject: [PATCH] fmt --- .../src/main/scala/scalafix/config/Regex.scala | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scalafix-core/src/main/scala/scalafix/config/Regex.scala b/scalafix-core/src/main/scala/scalafix/config/Regex.scala index 6441ed81d..f0787b1ba 100644 --- a/scalafix-core/src/main/scala/scalafix/config/Regex.scala +++ b/scalafix-core/src/main/scala/scalafix/config/Regex.scala @@ -6,17 +6,18 @@ import java.util.regex.Pattern import scalafix.internal.config.ScalafixMetaconfigReaders._ class Regex( - val pattern: Pattern, - val captureGroup: Option[Int] + val pattern: Pattern, + val captureGroup: Option[Int] ) object Regex { implicit val regexDecoder: ConfDecoder[Regex] = ConfDecoder.instance[Regex] { case obj: Conf.Obj => - (obj.get[Pattern]("pattern") |@| obj.getOption[Int]("captureGroup")).map { - case (pattern, groupIndex) => new Regex(pattern, groupIndex) - } + (obj.get[Pattern]("pattern") |@| obj.getOption[Int]("captureGroup")) + .map { + case (pattern, groupIndex) => new Regex(pattern, groupIndex) + } } implicit val customMessageRegexDecoder: ConfDecoder[CustomMessage[Regex]] =