1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

null check on certificates (not sure if this would actually happen but I had made this change a while back)

This commit is contained in:
David McKnight 2007-05-23 16:02:17 +00:00
parent f5509c3959
commit 59c2b899a3

View file

@ -136,9 +136,12 @@ public class SystemImportCertWizardMainPage
_viewer.setContentProvider(new CertTableContentProvider());
_viewer.setLabelProvider(new NewCertTableLabelProvider());
for (int i = 0; i < _certificates.size(); i++)
{
_viewer.add(getElement(_certificates.get(i)));
if (_certificates != null)
{
for (int i = 0; i < _certificates.size(); i++)
{
_viewer.add(getElement(_certificates.get(i)));
}
}
}