Skip to content

Commit 7ce8b7e

Browse files
kelseylampatelh
authored andcommitted
Moved JSONScalaz toJSON import statement from topicIdentities to top of the file
1 parent 3c7d5eb commit 7ce8b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/api/KafkaStateCheck.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import play.api.mvc._
1414
import scala.concurrent.Future
1515
import org.json4s.jackson.Serialization
1616
import org.json4s.jackson.JsonMethods._
17+
import org.json4s.scalaz.JsonScalaz.toJSON
1718

1819
/**
1920
* @author jisookim0513
@@ -46,7 +47,6 @@ class KafkaStateCheck (val messagesApi: MessagesApi, val kafkaManagerContext: Ka
4647

4748
def topicIdentities(c: String) = Action.async { implicit request =>
4849
implicit val formats = org.json4s.DefaultFormats
49-
import org.json4s.scalaz.JsonScalaz._
5050
kafkaManager.getTopicListExtended(c).map { errorOrTopicListExtended =>
5151
errorOrTopicListExtended.fold(
5252
error => BadRequest(Json.obj("msg" -> error.msg)),

0 commit comments

Comments
 (0)