comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFactory.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 17a3030bbda2
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
55 /** 55 /**
56 * Get BedHeightData for given type and height_id, caring about the cache. 56 * Get BedHeightData for given type and height_id, caring about the cache.
57 * If from or to are NaN all values are returned. Otherwise only get 57 * If from or to are NaN all values are returned. Otherwise only get
58 * values with stations between from and to. 58 * values with stations between from and to.
59 */ 59 */
60 public static BedHeightData getHeight(String type, int height_id, double from, double to) { 60 public static BedHeightData getHeight(
61 String type,
62 int height_id,
63 double from,
64 double to
65 ) {
61 log.debug("BedHeightFactory.getHeight"); 66 log.debug("BedHeightFactory.getHeight");
62 Cache cache = CacheFactory.getCache("bedheight-value-table-static"); 67 Cache cache = CacheFactory.getCache("bedheight-value-table-static");
63 68
64 String cacheKey = Integer.toString(height_id) + ":" + 69 String cacheKey = Integer.toString(height_id) + ":" +
65 Double.toString(from) + ":" + Double.toString(to); 70 Double.toString(from) + ":" + Double.toString(to);

http://dive4elements.wald.intevation.org