Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/QSectorArtifact.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 | e4606eae8ea5 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
102 | 102 |
103 if (log.isDebugEnabled()) { | 103 if (log.isDebugEnabled()) { |
104 log.debug(gr); | 104 log.debug(gr); |
105 } | 105 } |
106 | 106 |
107 for (int i = 0; i < FixingsKMChartService.I18N_Q_SECTOR_BOARDERS.length; ++i) { | 107 for (int i = 0; |
108 i < FixingsKMChartService.I18N_Q_SECTOR_BOARDERS.length; | |
109 ++i | |
110 ) { | |
108 String key = FixingsKMChartService.I18N_Q_SECTOR_BOARDERS[i]; | 111 String key = FixingsKMChartService.I18N_Q_SECTOR_BOARDERS[i]; |
109 String def = FixingsKMChartService.DEFAULT_Q_SECTOR_BORDERS[i]; | 112 String def = FixingsKMChartService.DEFAULT_Q_SECTOR_BORDERS[i]; |
110 String label = Resources.getMsg(context.getMeta(), key, def); | 113 String label = Resources.getMsg(context.getMeta(), key, def); |
111 | 114 |
112 qsectors.add(new NamedDouble(label, gr.getSectorBorder(i))); | 115 qsectors.add(new NamedDouble(label, gr.getSectorBorder(i))); |
116 } | 119 } |
117 | 120 |
118 | 121 |
119 /** Setup state and facet. */ | 122 /** Setup state and facet. */ |
120 @Override | 123 @Override |
121 protected void initialize(Artifact artifact, Object context, CallMeta meta) { | 124 protected void initialize( |
125 Artifact artifact, | |
126 Object context, | |
127 CallMeta meta | |
128 ) { | |
122 log.debug("QSectorArtifact.initialize"); | 129 log.debug("QSectorArtifact.initialize"); |
123 List<Facet> fs = new ArrayList<Facet>(); | 130 List<Facet> fs = new ArrayList<Facet>(); |
124 | 131 |
125 D4EArtifact flys = (D4EArtifact) artifact; | 132 D4EArtifact flys = (D4EArtifact) artifact; |
126 importData(flys, "river"); | 133 importData(flys, "river"); |