mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 09:45:39 +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);
|
addSymbols(data, storageLinkageID, ctx, fTodoTaskUpdater, pm);
|
||||||
|
|
||||||
// Contributed processors now have an opportunity to examine the AST.
|
// 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);
|
data = new PDOMWriter.Data(ast, fileKeys, fIndex);
|
||||||
storageLinkageID = processor.process(ast, data);
|
storageLinkageID = processor.process(ast, data);
|
||||||
if (storageLinkageID != ILinkage.NO_LINKAGE_ID)
|
if (storageLinkageID != ILinkage.NO_LINKAGE_ID)
|
||||||
|
|
|
@ -53,8 +53,8 @@ public class TodoTaskParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task[] parse(IASTComment[] comments) {
|
public Task[] parse(IASTComment[] comments) {
|
||||||
HashSet<String> locKeys= new HashSet<String>();
|
HashSet<String> locKeys= new HashSet<>();
|
||||||
List<Task> tasks = new ArrayList<Task>();
|
List<Task> tasks = new ArrayList<>();
|
||||||
for (IASTComment comment : comments) {
|
for (IASTComment comment : comments) {
|
||||||
IASTFileLocation location = comment.getFileLocation();
|
IASTFileLocation location = comment.getFileLocation();
|
||||||
if (location != null) { // Be defensive, bug 213307
|
if (location != null) { // Be defensive, bug 213307
|
||||||
|
|
Loading…
Add table
Reference in a new issue