applying patch from rucoder

This commit is contained in:
Laurent chretienneau 2012-10-04 18:39:15 +02:00
parent cf35d8e25c
commit 4c8cb45534

View file

@ -166,7 +166,8 @@ public class ModifiedMSPDIWriter extends MSPDIWriter {
it would be a pain to setup the development environment to build this... so we will hack this for now
--TAF2009-07-29
*/
if (Double.isNaN(mpx.getFixedCost().doubleValue()))
Number fixedCost = mpx.getFixedCost();
if (fixedCost == null || Double.isNaN(fixedCost.doubleValue()))
mpx.setFixedCost(null);
Project.Tasks.Task xml = super.writeTask(mpx);