Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/ThemeList.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 | ea9eef426962 |
children |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
147 * Create a map from index to description of facets that have a given name. | 147 * Create a map from index to description of facets that have a given name. |
148 * Only visible facets are taken into account. | 148 * Only visible facets are taken into account. |
149 * @param facetName name to match against facets whose info to put in map. | 149 * @param facetName name to match against facets whose info to put in map. |
150 * @return mapping of index to description | 150 * @return mapping of index to description |
151 */ | 151 */ |
152 public LinkedHashMap<String, String> toMapIndexDescription(String facetName) { | 152 public LinkedHashMap<String, String> toMapIndexDescription( |
153 String facetName | |
154 ) { | |
153 int count = getThemeCount(); | 155 int count = getThemeCount(); |
154 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); | 156 LinkedHashMap<String, String> valueMap = |
157 new LinkedHashMap<String, String>(); | |
155 for (int i = 0; i <= count; i++) { | 158 for (int i = 0; i <= count; i++) { |
156 Theme theme = getThemeAt(i + 1); | 159 Theme theme = getThemeAt(i + 1); |
157 | 160 |
158 if (theme == null || theme.getVisible() == 0) { | 161 if (theme == null || theme.getVisible() == 0) { |
159 continue; | 162 continue; |
170 | 173 |
171 public LinkedHashMap<String, String> | 174 public LinkedHashMap<String, String> |
172 toMapArtifactUUIDDescription(String facetName | 175 toMapArtifactUUIDDescription(String facetName |
173 ) { | 176 ) { |
174 int count = getThemeCount(); | 177 int count = getThemeCount(); |
175 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); | 178 LinkedHashMap<String, String> valueMap = |
179 new LinkedHashMap<String, String>(); | |
176 for (int i = 0; i <= count; i++) { | 180 for (int i = 0; i <= count; i++) { |
177 Theme theme = getThemeAt(i + 1); | 181 Theme theme = getThemeAt(i + 1); |
178 | 182 |
179 if (theme == null || theme.getVisible() == 0) { | 183 if (theme == null || theme.getVisible() == 0) { |
180 continue; | 184 continue; |