You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/08/17 00:22:16 UTC

[jira] Resolved: (HARMONY-6609) use cache in createImageInputStream() & createImageOutputStream

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

Mark Hindess resolved HARMONY-6609.
-----------------------------------

    Resolution: Fixed

Applied patch in r986141.  Please confirm (by closing this JIRA) that it has been applied as expected.

> use cache in createImageInputStream() & createImageOutputStream
> ---------------------------------------------------------------
>
>                 Key: HARMONY-6609
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6609
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Lang Yang
>            Assignee: Mark Hindess
>         Attachments: HARMONY-6609.diff
>
>
> This is a trivial fix. There are two createOutputStreamInstance() methods in the ImageOutputStreamSpi class.
> 1. public ImageOutputStream createOutputStreamInstance(Object output)
> 2. public abstract ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir)
> If getUseCache is true, we should call the second method. otherwise, the first method will be called. 
> Same thing for the createInputStreamInstance() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.