Skip to content

Commit

Permalink
EASY-2307: apply simplification for #57
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard van Heest committed Sep 23, 2019
1 parent 3d9278e commit 3f8ba2b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ class PlaceholderMapper(metadataTermsFile: File)(implicit parameters: BaseParame
val termName = termsAndItems.head._1.getName
val value = termsAndItems
.map((format _).tupled)
.reduce[String] {
case (s1, s2) => s1 + newLine * 2 + s2
}
.reduce(_ + newLine * 2 + _)

// keep the Term.Name around for sorting according to the Enum order
termName -> Map(
Expand Down

0 comments on commit 3f8ba2b

Please sign in to comment.