fixes bug#16839
qua:wallyson dev:lucas git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@98772 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
bb4f1ed8e2
commit
7197884cd4
|
@ -20,6 +20,8 @@ import javax.persistence.TemporalType;
|
|||
import javax.persistence.SequenceGenerator;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Administrador
|
||||
|
@ -194,7 +196,7 @@ public class DetDiagramaAutobus implements Serializable {
|
|||
*/
|
||||
@Transient
|
||||
public static boolean asientoVendible(String tipoAsiento){
|
||||
if (tipoAsiento == null){
|
||||
if (StringUtils.isEmpty(tipoAsiento)){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue