summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:09:21 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:09:21 +0000
commit6491d3da3e16b733a3a93b21837c26ca035ec4ef (patch)
treee8df090559b35a0c2ae66c3cf53bfabad815f248 /pdf-over-gui/src/main/java/at/asit/pdfover/gui
parent0a7bee2fb6d6a130d984786d8e6aa1eb168ab134 (diff)
downloadmocca-6491d3da3e16b733a3a93b21837c26ca035ec4ef.tar.gz
mocca-6491d3da3e16b733a3a93b21837c26ca035ec4ef.tar.bz2
mocca-6491d3da3e16b733a3a93b21837c26ca035ec4ef.zip
Use one format String for error message
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@162 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java
index 43b84b24..b2df6296 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java
@@ -209,8 +209,7 @@ public class DataSourceSelectComposite extends StateComposite {
// Only taking first file ...
File file = new File(files[0]);
if (!file.exists()) {
- log.error(Messages.getString("common.file") + " " + files[0] + //$NON-NLS-1$ //$NON-NLS-2$
- Messages.getString("common.file_not_exists")); //$NON-NLS-1$
+ log.error(String.format(Messages.getString("error.FileNotExist"), files[0])); //$NON-NLS-1$
return;
}
DataSourceSelectComposite.this.setSelected(file);