[
https://issues.apache.org/jira/browse/CAMEL-17990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524732#comment-17524732
]
Gianandrea Rigoni commented on CAMEL-17990:
--------------------------------------------
pleasure was mine!
> FileInputStreamCache is missing some InputStream delegates
> ----------------------------------------------------------
>
> Key: CAMEL-17990
> URL: https://issues.apache.org/jira/browse/CAMEL-17990
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 3.14.0, 3.16.0
> Reporter: Gianandrea Rigoni
> Priority: Minor
> Fix For: 3.14.3, 3.17.0
>
>
> FileInputStreamCache extends InputStream but is missing a few delegates for
> its field "private InputStream stream;".
> this implies calling methods from the parent which are suboptimal on
> performance level, for example "public int read(byte[] b, int off, int len)"
> on InutStream is looping byte by byte while the instance in the class field
> might have a specific optimised implementation.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)