Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Oct 19, 2024
1 parent 314280c commit a7f795a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ class RssParserBuilder(
private val charset: Charset? = null,
): RssParser.Builder {
override fun build(): RssParser {
val client = callFactory
return RssParser(
xmlFetcher = JvmXmlFetcher(
callFactory = client,
callFactory = callFactory,
),
xmlParser = AndroidXmlParser(
charset = charset,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ class RssParserBuilder(
private val charset: Charset? = null,
): RssParser.Builder {
override fun build(): RssParser {
val client = callFactory
return RssParser(
xmlFetcher = JvmXmlFetcher(
callFactory = client,
callFactory = callFactory,
),
xmlParser = JvmXmlParser(
charset = charset,
Expand Down

0 comments on commit a7f795a

Please sign in to comment.