Skip to content

Commit

Permalink
Remove @nowarn
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Nov 18, 2024
1 parent d99c8f2 commit 80507fa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package scaladex.infra

import java.io.Closeable

import scala.annotation.nowarn
import scala.concurrent.ExecutionContext
import scala.concurrent.Future
import scala.concurrent.duration._
Expand Down Expand Up @@ -271,7 +270,7 @@ class ElasticsearchEngine(esClient: ElasticClient, index: String)(implicit ec: E
.toSeq
.flatMap(_.hits)
.flatMap { hit =>
val source = SourceAsContentBuilder(hit.source).string: @nowarn("cat=deprecation")
val source = SourceAsContentBuilder(hit.source).string
parser.decode[GithubIssue](source) match {
case Right(issue) => Some(issue)
case Left(_) =>
Expand Down

0 comments on commit 80507fa

Please sign in to comment.