comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/HYKFacet.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
50 50
51 String dataKey = CrossSectionFacet.BLACKBOARD_CS_MASTER_DATA; 51 String dataKey = CrossSectionFacet.BLACKBOARD_CS_MASTER_DATA;
52 52
53 List<DataProvider> providers = context.getDataProvider(dataKey); 53 List<DataProvider> providers = context.getDataProvider(dataKey);
54 if (providers.size() < 1) { 54 if (providers.size() < 1) {
55 log.warn("Could not find Cross-Section data provider to get master cs km."); 55 log.warn("Could not find Cross-Section data provider "
56 + "to get master cs km.");
56 return null; 57 return null;
57 } 58 }
58 59
59 FastCrossSectionLine crossSection = (FastCrossSectionLine) providers.get(0) 60 FastCrossSectionLine crossSection =
60 .provideData(dataKey, null, context); 61 (FastCrossSectionLine)providers.get(0).provideData(
62 dataKey, null, context);
61 63
62 if(crossSection == null) { 64 if(crossSection == null) {
63 log.debug("getData: crossSection is null"); 65 log.debug("getData: crossSection is null");
64 return null; 66 return null;
65 } 67 }

http://dive4elements.wald.intevation.org