Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/common/AbstractResultType.java @ 9491:d7d22ea8573d
Temporarily: log sinfo meanbedheight formatting
author | mschaefer |
---|---|
date | Wed, 19 Sep 2018 17:53:53 +0200 |
parents | d32b11d585cd |
children | 4deb6b24f072 |
comparison
equal
deleted
inserted
replaced
9490:e44c1a8b0c54 | 9491:d7d22ea8573d |
---|---|
96 | 96 |
97 final NumberFormat formatter = getFormatter(context); | 97 final NumberFormat formatter = getFormatter(context); |
98 return formatter.format(value); | 98 return formatter.format(value); |
99 } | 99 } |
100 | 100 |
101 private NumberFormat getFormatter(final CallContext context) { | 101 protected NumberFormat getFormatter(final CallContext context) { |
102 final CallMeta meta = context.getMeta(); | 102 final CallMeta meta = context.getMeta(); |
103 final Locale locale = Resources.getLocale(meta); | 103 final Locale locale = Resources.getLocale(meta); |
104 | 104 |
105 if (!this.formatters.containsKey(locale)) | 105 if (!this.formatters.containsKey(locale)) |
106 this.formatters.put(locale, createFormatter(context)); | 106 this.formatters.put(locale, createFormatter(context)); |