[ 2738706 ] - minor: bad use of ==
This commit is contained in:
parent
82ca621eb6
commit
2561489630
|
@ -305,7 +305,7 @@ public class POSGoodsAction extends POSDispatchAction
|
||||||
{
|
{
|
||||||
throw new OperationException("Quantity cannot be null");
|
throw new OperationException("Quantity cannot be null");
|
||||||
}
|
}
|
||||||
if( quantity.equals(0) == true)
|
if( quantity.equals(0) )
|
||||||
{
|
{
|
||||||
throw new OperationException("Quantity cannot be zero");
|
throw new OperationException("Quantity cannot be zero");
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ public class Messagebox extends Window implements EventListener
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|
||||||
if (icon == QUESTION)
|
if (icon.equals(QUESTION))
|
||||||
{
|
{
|
||||||
this.setTitle(title);
|
this.setTitle(title);
|
||||||
this.setWidth("500px");
|
this.setWidth("500px");
|
||||||
|
|
Loading…
Reference in New Issue