Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/WSPLGENJob.java @ 8744:1d46e388fe2b
(issue1550) Fix writing parameter -GEL to parameter file.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 21 May 2015 13:46:37 +0200 |
parents | 0e06c6510df2 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8743:f39c080b3903 | 8744:1d46e388fe2b |
---|---|
375 } | 375 } |
376 | 376 |
377 protected void writeGel(PrintWriter writer) | 377 protected void writeGel(PrintWriter writer) |
378 throws IllegalArgumentException | 378 throws IllegalArgumentException |
379 { | 379 { |
380 if (area != null && area.length() > 0) { | 380 String gel = getGel(); |
381 writer.println("-GEL=" + getGel()); | 381 |
382 if (gel != null && gel.length() > 0) { | |
383 writer.println("-GEL=" + gel); | |
382 } | 384 } |
383 } | 385 } |
384 | 386 |
385 protected void writeArea(PrintWriter writer) | 387 protected void writeArea(PrintWriter writer) |
386 throws IllegalArgumentException | 388 throws IllegalArgumentException |