[ 2738706 ] - minor: bad use of ==

This commit is contained in:
mjudd 2009-04-06 21:36:28 +00:00
parent 82ca621eb6
commit 2561489630
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ public class POSGoodsAction extends POSDispatchAction
{
throw new OperationException("Quantity cannot be null");
}
if( quantity.equals(0) == true)
if( quantity.equals(0) )
{
throw new OperationException("Quantity cannot be zero");
}

View File

@ -224,7 +224,7 @@ public class Messagebox extends Window implements EventListener
init();
if (icon == QUESTION)
if (icon.equals(QUESTION))
{
this.setTitle(title);
this.setWidth("500px");