comparison artifacts/src/main/java/org/dive4elements/river/artifacts/SQRelationArtifact.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 1e4e5ff44aa9
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
64 log.debug("SQRelationDCArtifact.setup Id: " + code); 64 log.debug("SQRelationDCArtifact.setup Id: " + code);
65 65
66 if (code != null && !code.isEmpty()) { 66 if (code != null && !code.isEmpty()) {
67 /* Case that we were instantiated from the datacage */ 67 /* Case that we were instantiated from the datacage */
68 addStringData("ids", code); 68 addStringData("ids", code);
69 super.setup(identifier, factory, context, callmeta, data, loadFacets); 69 super.setup(
70 identifier, factory, context, callmeta, data, loadFacets);
70 return; 71 return;
71 } 72 }
72 73
73 String river = XMLUtils.xpathString( 74 String river = XMLUtils.xpathString(
74 data, 75 data,
175 @Override 176 @Override
176 public String getName() { 177 public String getName() {
177 return NAME; 178 return NAME;
178 } 179 }
179 180
180 private boolean hasParameter(StaticSQRelation.Parameter p, List<Facet> fs) { 181 private boolean hasParameter(
182 StaticSQRelation.Parameter p,
183 List<Facet> fs
184 ) {
181 for (Facet f : fs) { 185 for (Facet f : fs) {
182 if (f.getName().equals("sq_" + 186 if (f.getName().equals("sq_" +
183 p.toString().toLowerCase() + "_curve")) { 187 p.toString().toLowerCase() + "_curve")) {
184 return true; 188 return true;
185 } 189 }

http://dive4elements.wald.intevation.org