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:
parent
f5509c3959
commit
59c2b899a3
1 changed files with 6 additions and 3 deletions
|
@ -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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue