# HG changeset patch # User Felix Wolfsteller # Date 1348741009 0 # Node ID ffb2aac9a5b6c42005af79372ff8526b37cd64a9 # Parent fc32a495508720e8933b8ecec45fe1ff0cd7e1b3 Cosmetics, docs. flys-backend/trunk@5611 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r fc32a4955087 -r ffb2aac9a5b6 flys-backend/ChangeLog --- a/flys-backend/ChangeLog Thu Sep 27 10:15:10 2012 +0000 +++ b/flys-backend/ChangeLog Thu Sep 27 10:16:49 2012 +0000 @@ -1,3 +1,9 @@ +2012-09-27 Felix Wolfsteller + + * src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java, + src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java: + Cosmetics, docs. + 2012-09-27 Felix Wolfsteller Towards fix for issue863 (data gaps in bed height single values). diff -r fc32a4955087 -r ffb2aac9a5b6 flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java --- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java Thu Sep 27 10:15:10 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java Thu Sep 27 10:16:49 2012 +0000 @@ -55,6 +55,10 @@ } + /** + * Add this value to database or return database bound Value, assuring + * that the BedHeightSingle exists in db already. + */ public BedHeightSingleValue getPeer(BedHeightSingle bedHeight) { if (peer == null) { Session session = ImporterSession.getInstance().getDatabaseSession(); diff -r fc32a4955087 -r ffb2aac9a5b6 flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java --- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java Thu Sep 27 10:15:10 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java Thu Sep 27 10:16:49 2012 +0000 @@ -84,6 +84,7 @@ protected abstract ImportBedHeight newImportBedHeight(String description); + /** Handle a line of file that contains data (in contrast to comments, meta). */ protected abstract void handleDataLine( ImportBedHeight importBedHeight, String line