From 41a1bc68b5b24f323aa89e39ec586b3c02935bee Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 16 Nov 2022 12:12:11 +0100 Subject: replace String.format(Messages.getString with Messages.formatString( --- .../gui/composites/configuration/KeystoreConfigurationComposite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java index 61e87b56..a477422e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/KeystoreConfigurationComposite.java @@ -238,8 +238,8 @@ public class KeystoreConfigurationComposite extends ConfigurationCompositeBase { showErrorDialog(Messages.getString("error.KeyStore")); } catch (FileNotFoundException ex) { log.error("Error loading keystore", ex); - showErrorDialog(String.format(Messages.getString( - "error.KeyStoreFileNotExist"), f.getName())); + showErrorDialog(Messages.formatString( + "error.KeyStoreFileNotExist", f.getName())); } catch (NoSuchAlgorithmException ex) { log.error("Error loading keystore", ex); showErrorDialog(Messages.getString("error.KeyStore")); -- cgit v1.2.3