sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SIS-308) InputStream provided by StorageConnector not always at the beginning of the stream
Date Fri, 17 Nov 2017 14:35:00 GMT

     [ https://issues.apache.org/jira/browse/SIS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux closed SIS-308.
-----------------------------------

> InputStream provided by StorageConnector not always at the beginning of the stream
> ----------------------------------------------------------------------------------
>
>                 Key: SIS-308
>                 URL: https://issues.apache.org/jira/browse/SIS-308
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 0.3, 0.4, 0.5, 0.6
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>             Fix For: 0.7
>
>
> Call to {{StorageConnector.getStorageAs(InputStream.class)}} returns an {{InputStream}}
which does not read from the beginning of the stream if a call to {{StorageConnection.getStorageAs(…)}}
has been done before for another type.
> The fix is to use {{InputStream.mark()}} when the other type is created and {{InputStream.reset()}}
when the {{InputStream}} is requested.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message