diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils/CertificateDownloadSource.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils/CertificateDownloadSource.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils/CertificateDownloadSource.java index f6c1eb29..31c559db 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils/CertificateDownloadSource.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/utils/CertificateDownloadSource.java @@ -119,7 +119,8 @@ public class CertificateDownloadSource { continue; } - ConfigProviderImpl cpi = new ConfigProviderImpl(); + if (!certificateNode.getTextContent().equals("")) + {ConfigProviderImpl cpi = new ConfigProviderImpl(); String certResource = Constants.CERTIFICATE_DOWNLOAD_XML_URL + certificateNode.getTextContent(); log.info("===== Starting to download accepted certificates ====="); @@ -136,8 +137,7 @@ public class CertificateDownloadSource { } fis.close(); bis.close(); - - + } } catch (Exception ex) { log.debug(ex.toString()); //$NON-NLS-1$ } |