Closed bjkeller closed 6 years ago
The method net.sf.freecol.common.model.NativeTradeItem.priceIsSet() has an @return that reads True if a price has been set.
net.sf.freecol.common.model.NativeTradeItem.priceIsSet()
@return
True if a price has been set.
This condition is being translated as target.getPrice()!=null, which does not compile because target.getPrice() returns an int value.
target.getPrice()!=null
target.getPrice()
int
Fixed by #226.
The method
net.sf.freecol.common.model.NativeTradeItem.priceIsSet()
has an@return
that readsTrue if a price has been set.
This condition is being translated as
target.getPrice()!=null
, which does not compile becausetarget.getPrice()
returns anint
value.