mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +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(){
|
||||
List list = new ArrayList(fMaxIndex);
|
||||
int size = fMaxIndex + 1;
|
||||
List list = new ArrayList(size);
|
||||
List l;
|
||||
for(int i = 0; i < fMaxIndex; i++){
|
||||
for(int i = 0; i < size; i++){
|
||||
l = fStore[i];
|
||||
if(l != null)
|
||||
list.add(l);
|
||||
|
|
Loading…
Add table
Reference in a new issue