CellsHelper.setSignificantDigits(): why a global static function

Hi,

CellsHelper.setSignificantDigits() is currently a static method.
In a multi-threaded application, different threads will be operating on different workbooks concurrently. Having this functionality exposed as a (global) static method makes it impossible to ensure that one operation can reliably override the number of digits without impacting others.

Kind regards,
Taras

Hi,


Thanks for the details.

I think your description (for your scenario) makes sense a bit, the CellsHelper.setSignificantDigits() should not be (global) static function. I have logged an investigation ticket with an id “CELLSJAVA-42321” for issue. Our concerned developer from product team will evaluate if we could move the API under e.g Workbook (if possible) or some other place to not to make it global static. Alternatively, we will give you details and description to cope with your scenario/case.

Once we have an update on it, we will let you know here.

Thank you.

Hi,


We are pleased to inform you that we have fixed your issue (logged earlier as “CELLSJAVA-42321”) now. We will soon (hopefully in 3-5 days or so) provide you the fixed version after performing QA and incorporating other enhancements and fixes.

Thank you.

The issues you have found earlier (filed as CELLSJAVA-42321) have been fixed in Aspose.Cells for Java 17.7.