Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/AbstractChartGenerator.java @ 9251:4082b8429353
Using varargs for msg arguments
author | mschaefer |
---|---|
date | Thu, 12 Jul 2018 18:02:58 +0200 |
parents | eec4df8165a1 |
children | 7c7f73e5e01e |
comparison
equal
deleted
inserted
replaced
9250:b64cf2f5f719 | 9251:4082b8429353 |
---|---|
719 */ | 719 */ |
720 public final String msg(final String key) { | 720 public final String msg(final String key) { |
721 return Resources.getMsg(this.context.getMeta(), key, key); | 721 return Resources.getMsg(this.context.getMeta(), key, key); |
722 } | 722 } |
723 | 723 |
724 public final String msg(final String key, final String def, final Object[] args) { | 724 public final String msg(final String key, final String def, final Object... args) { |
725 return Resources.getMsg(this.context.getMeta(), key, def, args); | 725 return Resources.getMsg(this.context.getMeta(), key, def, args); |
726 } | 726 } |
727 | 727 |
728 /** | 728 /** |
729 * Add datasets stored in instance variable <i>datasets</i> to plot. | 729 * Add datasets stored in instance variable <i>datasets</i> to plot. |