Skip to content

Commit 382e723

Browse files
committed
Minor change
1 parent 94fe656 commit 382e723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readium/streamer/src/main/java/org/readium/r2/streamer/parser/PublicationParser.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class DefaultPublicationParser(
6666
private val httpClient: HttpClient,
6767
pdfFactory: PdfDocumentFactory<*>?,
6868
assetOpener: AssetOpener
69-
) : CompositePublicationParser(
69+
) : PublicationParser by CompositePublicationParser(
7070
parsers + listOfNotNull(
7171
EpubParser(),
7272
pdfFactory?.let { PdfParser(context, it) },
@@ -80,7 +80,7 @@ public class DefaultPublicationParser(
8080
* A composite [PublicationParser] which tries several parsers until it finds one which supports
8181
* the asset.
8282
*/
83-
public open class CompositePublicationParser(
83+
public class CompositePublicationParser(
8484
private val parsers: List<PublicationParser>
8585
) : PublicationParser {
8686

0 commit comments

Comments
 (0)