Mensagem de erro : " Illegal start of expression "
public List< Person > getAllPeople()
{
List <Person> results = null;
ResultSet resultSet =null;
try
{
resultSet = selectAllPeople.executeQuery();
results = new ArrayList< Person>();
while ( resultSet.next())
{
results.add(new Person(resultSet.getInt("addressID"), resultSet.getString("FirstName"), resultSet.getString("LastName"), resultSet.getString("Email"), resultSet.getString("PhoneNumber")));
}
}
catch (SQLException sqlException)
{
sqlException.printStackTrace();
}
finally
{
try
{
resultSet.close();
}
catch(SQLException sqlException)
{
sqlException.printStackTrace();
close();
}
}
return results;
}