commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Created] (IMAGING-190) DataReader.decompress() overwrites its input
Date Sun, 09 Oct 2016 13:55:20 GMT
Sebb created IMAGING-190:

             Summary: DataReader.decompress() overwrites its input
                 Key: IMAGING-190
             Project: Commons Imaging
          Issue Type: Bug
            Reporter: Sebb

The DataReader.decompress() method rewrites its input data if the fill order is set to FILL_ORDER_VALUE_REVERSED.

However AFAICT the fill order is not then updated, so calling the method mulitple times will
redo the conversion.

The method should probably use a new array if the output has to be reversed.

This message was sent by Atlassian JIRA

View raw message