mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 23:35:48 +02:00
Fix for the per-file scanner discovery
This commit is contained in:
parent
768104f0e5
commit
b93b822f9d
1 changed files with 3 additions and 2 deletions
|
@ -141,9 +141,10 @@ public class PerFileSettingsCalculator {
|
||||||
}
|
}
|
||||||
|
|
||||||
public List[] getLists(){
|
public List[] getLists(){
|
||||||
List list = new ArrayList(fMaxIndex);
|
int size = fMaxIndex + 1;
|
||||||
|
List list = new ArrayList(size);
|
||||||
List l;
|
List l;
|
||||||
for(int i = 0; i < fMaxIndex; i++){
|
for(int i = 0; i < size; i++){
|
||||||
l = fStore[i];
|
l = fStore[i];
|
||||||
if(l != null)
|
if(l != null)
|
||||||
list.add(l);
|
list.add(l);
|
||||||
|
|
Loading…
Add table
Reference in a new issue