return countOpenOutagesForService(svc) > 0;
}
public Collection getOutages() {
return getOutages(null, new Object[0]);
}
<BUG>public Collection<Outage> getOutages(String criteria, Object[] values) {
</BUG>
String critSql = (criteria == null ? "" : " where "+criteria);
final List<Outage> outages = new LinkedList<Outage>();
Querier loadExisting = new Querier(this, "select * from outages"+critSql) {

return countOpenOutagesForService(svc) > 0;
}
public Collection getOutages() {
return getOutages(null, new Object[0]);
}
public Collection<Outage> getOutages(String criteria, Object... values) {
String critSql = (criteria == null ? "" : " where "+criteria);
final List<Outage> outages = new LinkedList<Outage>();
Querier loadExisting = new Querier(this, "select * from outages"+critSql) {
