Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 4982:cbe89b2ce3cd
WQInputPanel: Removed unnecessary parameter from function.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Feb 2013 09:33:41 +0100 |
parents | bbd82bd8e541 |
children | 8679d16fe11a |
comparison
equal
deleted
inserted
replaced
4981:0e6e44e6725f | 4982:cbe89b2ce3cd |
---|---|
1779 * | 1779 * |
1780 * @param data The DataList with all data. | 1780 * @param data The DataList with all data. |
1781 * | 1781 * |
1782 * @return the name of the current river. | 1782 * @return the name of the current river. |
1783 */ | 1783 */ |
1784 protected String getRiverName(DataList[] data) { | 1784 protected String getRiverName() { |
1785 ArtifactDescription adesc = artifact.getArtifactDescription(); | 1785 ArtifactDescription adesc = artifact.getArtifactDescription(); |
1786 return adesc.getRiver(); | 1786 return adesc.getRiver(); |
1787 } | 1787 } |
1788 | 1788 |
1789 | 1789 |
1793 | 1793 |
1794 ArtifactDescription adescr = artifact.getArtifactDescription(); | 1794 ArtifactDescription adescr = artifact.getArtifactDescription(); |
1795 DataList[] data = adescr.getOldData(); | 1795 DataList[] data = adescr.getOldData(); |
1796 | 1796 |
1797 double[] mm = getMinMaxKM(data); | 1797 double[] mm = getMinMaxKM(data); |
1798 String river = getRiverName(data); | 1798 String river = getRiverName(); |
1799 | 1799 |
1800 wqInfoService.getWQInfo(locale, river, mm[0], mm[1], | 1800 wqInfoService.getWQInfo(locale, river, mm[0], mm[1], |
1801 new AsyncCallback<WQInfoObject[]>() { | 1801 new AsyncCallback<WQInfoObject[]>() { |
1802 @Override | 1802 @Override |
1803 public void onFailure(Throwable caught) { | 1803 public void onFailure(Throwable caught) { |