Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Jan 9, 2024
1 parent 94fe656 commit 382e723
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class DefaultPublicationParser(
private val httpClient: HttpClient,
pdfFactory: PdfDocumentFactory<*>?,
assetOpener: AssetOpener
) : CompositePublicationParser(
) : PublicationParser by CompositePublicationParser(
parsers + listOfNotNull(
EpubParser(),
pdfFactory?.let { PdfParser(context, it) },
Expand All @@ -80,7 +80,7 @@ public class DefaultPublicationParser(
* A composite [PublicationParser] which tries several parsers until it finds one which supports
* the asset.
*/
public open class CompositePublicationParser(
public class CompositePublicationParser(
private val parsers: List<PublicationParser>
) : PublicationParser {

Expand Down

0 comments on commit 382e723

Please sign in to comment.