changeset 9251:4082b8429353

Using varargs for msg arguments
author mschaefer
date Thu, 12 Jul 2018 18:02:58 +0200
parents b64cf2f5f719
children c2a0028bfa9f
files artifacts/src/main/java/org/dive4elements/river/exports/AbstractChartGenerator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/AbstractChartGenerator.java	Thu Jul 12 15:30:32 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/AbstractChartGenerator.java	Thu Jul 12 18:02:58 2018 +0200
@@ -721,7 +721,7 @@
         return Resources.getMsg(this.context.getMeta(), key, key);
     }
 
-    public final String msg(final String key, final String def, final Object[] args) {
+    public final String msg(final String key, final String def, final Object... args) {
         return Resources.getMsg(this.context.getMeta(), key, def, args);
     }
 

http://dive4elements.wald.intevation.org