mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Cosmetics.
This commit is contained in:
parent
4a278f0d05
commit
33a2f3c025
2 changed files with 3 additions and 3 deletions
|
@ -1238,7 +1238,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
|||
addSymbols(data, storageLinkageID, ctx, fTodoTaskUpdater, pm);
|
||||
|
||||
// Contributed processors now have an opportunity to examine the AST.
|
||||
for(IPDOMASTProcessor processor : PDOMASTProcessorManager.getProcessors(ast)) {
|
||||
for (IPDOMASTProcessor processor : PDOMASTProcessorManager.getProcessors(ast)) {
|
||||
data = new PDOMWriter.Data(ast, fileKeys, fIndex);
|
||||
storageLinkageID = processor.process(ast, data);
|
||||
if (storageLinkageID != ILinkage.NO_LINKAGE_ID)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue