# HG changeset patch # User Felix Wolfsteller # Date 1326370856 0 # Node ID 16e74c5e636fa407f7d864693915eba102635f11 # Parent d54518bac974b3a0fcd27ffd003f671cec9baf17 Cosmetics. flys-artifacts/trunk@3659 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r d54518bac974 -r 16e74c5e636f flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Jan 11 14:36:19 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jan 12 12:20:56 2012 +0000 @@ -1,3 +1,10 @@ +2011-01-12 Felix Wolfsteller + + Cosmetics, cleanups. + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: + (getCrossSections, getCrossSectionNames): Removed. + 2011-01-11 Felix Wolfsteller flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb diff -r d54518bac974 -r 16e74c5e636f flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Wed Jan 11 14:36:19 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Thu Jan 12 12:20:56 2012 +0000 @@ -657,21 +657,6 @@ /** - * Get List of all cross-sections for current river. - * - * @return List of CrossSections for current river, null in case of error. - */ - protected List getCrossSections() { - River river = FLYSUtils.getRiver(this); - if (river == null) { - logger.warn("No river in WINFO found"); - return null; - } - return CrossSectionFactory.getCrossSections(river); - } - - - /** * Get points of line describing the surface of water at cross section. * * @return an array holding coordinates of points of surface of water ( @@ -723,22 +708,6 @@ /** - * Get name of cross sections. - * @return list of names of cross-sections. - */ - public List getCrossSectionNames() { - logger.debug("getCrossSectionNames"); - List names = new ArrayList(); - - for (CrossSection section: getCrossSections()) { - names.add(section.getDescription()); - } - - return names; - } - - - /** * Returns the Qs for a number of Ws. This method makes use of * DischargeTables.getQForW(). *