harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lang Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6609) use cache in createImageInputStream() & createImageOutputStream
Date Sun, 08 Aug 2010 18:19:20 GMT

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

Lang Yang updated HARMONY-6609:
-------------------------------

    Attachment: HARMONY-6609.diff

> 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
>         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.


Mime
View raw message