Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffFilterFacet.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | afa2096a1f15 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
61 RiverAccess access = new RiverAccess((D4EArtifact)artifact); | 61 RiverAccess access = new RiverAccess((D4EArtifact)artifact); |
62 String river = access.getRiverName(); | 62 String river = access.getRiverName(); |
63 | 63 |
64 double radius = scales.getRadius(river, start, end); | 64 double radius = scales.getRadius(river, start, end); |
65 BedDiffYearResult oldData = data[index]; | 65 BedDiffYearResult oldData = data[index]; |
66 double[][] diffs = MovingAverage.weighted(oldData.getDifferencesData(), radius); | 66 double[][] diffs = MovingAverage.weighted( |
67 oldData.getDifferencesData(), radius); | |
67 this.addMetaData( | 68 this.addMetaData( |
68 Resources.getMsg(context.getMeta(), | 69 Resources.getMsg(context.getMeta(), |
69 "chart.subtitle.radius"), | 70 "chart.subtitle.radius"), |
70 Formatter.getRawFormatter(context).format(radius) + " km"); | 71 Formatter.getRawFormatter(context).format(radius) + " km"); |
71 return diffs; | 72 return diffs; |