When I try to compile my code, it comes up with the error "missing return statement". Could someone tell me what is wrong here? Help would be appreciated ;)
private int listSteak()
{
List<Steak> steak = getObjectsInRange(1000, Steak.class);
for(Steak s: steak)
{
if (s != null)
{
s.delete();
s.remove();
}
}
}
