Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshOutputState.java @ 856:c9996913ff4b
Adjusted the subtitle creation for charts in 'Horizontalen Schnittprofilen' (see issue138).
gnv-artifacts/trunk@974 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 23 Apr 2010 12:26:31 +0000 |
parents | e26935963871 |
children | f953c9a559d8 |
comparison
equal
deleted
inserted
replaced
855:e26935963871 | 856:c9996913ff4b |
---|---|
33 sb.append(time); | 33 sb.append(time); |
34 } | 34 } |
35 | 35 |
36 String coordinate = getData(locale, "mesh_point"); | 36 String coordinate = getData(locale, "mesh_point"); |
37 if (coordinate != null) { | 37 if (coordinate != null) { |
38 if (time != null) | 38 sb.append("\n"); |
39 sb.append("\n"); | |
40 | |
41 sb.append(coordinate); | 39 sb.append(coordinate); |
42 } | 40 } |
43 | 41 |
44 String depth = getData(locale, "depthid"); | 42 String depth = getData(locale, "depthid"); |
45 if (depth != null) { | 43 if (depth != null) { |
46 if (coordinate != null) | 44 sb.append("\n"); |
47 sb.append("\n"); | |
48 | |
49 sb.append(depth); | 45 sb.append(depth); |
50 } | 46 } |
51 | 47 |
52 return sb.toString(); | 48 return sb.toString(); |
53 } | 49 } |