catch (Exception e)
{
logger.error("Error login with password", e);
return false;
}
<BUG>}
private boolean sendCapas(JSONArray capalistParam)</BUG>
{
if(connection == null
<BUG>|| capalistParam == null || capalistParam.length() < 1)
</BUG>
return false;

catch (Exception e)
{
logger.error("Error login with password", e);
return false;
}
}
@SuppressWarnings("unchecked")
private boolean sendCapas(JSONArray capalistParam)
{
if(connection == null
|| capalistParam == null || capalistParam.isEmpty())
return false;
