From 899e99e2d84c9b2586cc4fa19d5243b1cc5e6bc3 Mon Sep 17 00:00:00 2001 From: Hongwei Date: Thu, 9 Mar 2023 13:43:29 +0100 Subject: [PATCH] refactor/remove local value at top of API Explorer --- src/main/scala/code/snippet/ApiExplorer.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/scala/code/snippet/ApiExplorer.scala b/src/main/scala/code/snippet/ApiExplorer.scala index 0e2edbc1..ae9894ef 100644 --- a/src/main/scala/code/snippet/ApiExplorer.scala +++ b/src/main/scala/code/snippet/ApiExplorer.scala @@ -244,11 +244,6 @@ WIP to add comments on resource docs. This code copied from Sofit. case _ => "" } - val localeHeadline : String = localeParam match { - case Full(x) => x - case _ => "" - } - val contentHeadline : String = rawContentParam match { case Full(x) => x case _ => "" @@ -834,7 +829,7 @@ WIP to add comments on resource docs. This code copied from Sofit. // Title / Headline we display including count of APIs val headline : String = s""" ${apiVersionRequested.stripPrefix("OBP").stripPrefix("BG").stripPrefix("STET").stripPrefix("UK")} - $tagsHeadline $localeHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs) + $tagsHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs) """.trim()