Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/RelativePointFacet.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 | 3f49835a00c3 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/RelativePointFacet.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/RelativePointFacet.java Thu Jan 18 20:12:01 2018 +0100 @@ -128,7 +128,8 @@ } Double start = (Double) providers.get(0). - provideData(ReferenceCurveFacet.BB_REFERENCECURVE_STARTKM, null, context); + provideData( + ReferenceCurveFacet.BB_REFERENCECURVE_STARTKM, null, context); providers = context. getDataProvider(ReferenceCurveFacet.BB_REFERENCECURVE_ENDKMS); @@ -136,11 +137,13 @@ log.warn("Could not find reference curve endkms data provider."); } double[] ends = (double[]) providers.get(0). - provideData(ReferenceCurveFacet.BB_REFERENCECURVE_ENDKMS, null, context); + provideData( + ReferenceCurveFacet.BB_REFERENCECURVE_ENDKMS, null, context); log.debug("Got s " + start + " e " + ends); - double startW = StaticWKmsArtifact.getWAtKmLin(wKms, start.doubleValue()); + double startW = StaticWKmsArtifact.getWAtKmLin( + wKms, start.doubleValue()); // TODO handle multiple ends. double endW = StaticWKmsArtifact.getWAtKmLin(wKms, ends[0]); log.debug("Gotw s " + startW + " e " + endW);