Ah, for the benefit of SequenceInputStream.  Bit of a relic.

On 2013-08-19 10:48, David Mason wrote:
> In zanata-war/src/main/java/org/zanata/file/DocumentUploadUtil.java:
> 
>> @@ -279,13 +270,14 @@ protected File combineToTempFileAndDeleteUploadRecord(HDocumentUpload upload)
>>        return tempFile;
>>     }
>>  
>> -   private File combineToTempFile(HDocumentUpload upload) throws SQLException
>> +   private File combineToTempFile(HDocumentUpload upload, InputStream finalPart) throws SQLException
>>     {
>>        Vector<InputStream> partStreams = new Vector<InputStream>();
> 
> The vector is used to provide a |java.util.Enumeration<InputStream>|. It
> believe it would also be possible to use a List and use
> |Collections.enumeration(List)|, which would make it a little more familiar.
> 
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/zanata/zanata-server/pull/133/files#r5833212>.
> 


-- 
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat