comparison flys-backend/src/main/java/de/intevation/flys/model/CrossSectionLine.java @ 3334:2ae732e2c65c

FLYS backend: Removed trailing whitespace. flys-backend/trunk@4669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 15 Jun 2012 09:20:49 +0000
parents 2f874d14ac68
children 3b001c273f1b
comparison
equal deleted inserted replaced
3333:76c75c8b9ee0 3334:2ae732e2c65c
120 } 120 }
121 121
122 122
123 public List<Point2D> fetchCrossSectionLinesPoints() { 123 public List<Point2D> fetchCrossSectionLinesPoints() {
124 124
125 List<CrossSectionPoint> linePoints = 125 List<CrossSectionPoint> linePoints =
126 new ArrayList<CrossSectionPoint>(getPoints()); 126 new ArrayList<CrossSectionPoint>(getPoints());
127 127
128 Collections.sort(linePoints, COL_POS_CMP); 128 Collections.sort(linePoints, COL_POS_CMP);
129 129
130 List<Point2D> points = new ArrayList<Point2D>(linePoints.size()); 130 List<Point2D> points = new ArrayList<Point2D>(linePoints.size());
162 if (x <= xs[i-1]) { 162 if (x <= xs[i-1]) {
163 x = xs[i-1] + EPSILON; 163 x = xs[i-1] + EPSILON;
164 } 164 }
165 165
166 xs[i] = x; 166 xs[i] = x;
167 ys[i] = y; 167 ys[i] = y;
168 } 168 }
169 } 169 }
170 170
171 return new double [][] { xs, ys }; 171 return new double [][] { xs, ys };
172 } 172 }

http://dive4elements.wald.intevation.org