1
0
Fork 0
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:
Mikhail Sennikovsky 2007-03-28 10:48:41 +00:00
parent 768104f0e5
commit b93b822f9d

View file

@ -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);