1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 09:45:39 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2014-04-16 16:45:28 -07:00
parent 4a278f0d05
commit 33a2f3c025
2 changed files with 3 additions and 3 deletions

View file

@ -53,8 +53,8 @@ public class TodoTaskParser {
}
public Task[] parse(IASTComment[] comments) {
HashSet<String> locKeys= new HashSet<String>();
List<Task> tasks = new ArrayList<Task>();
HashSet<String> locKeys= new HashSet<>();
List<Task> tasks = new ArrayList<>();
for (IASTComment comment : comments) {
IASTFileLocation location = comment.getFileLocation();
if (location != null) { // Be defensive, bug 213307