Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WQInputPanel.java @ 6557:685c2be0541c
Debug/typo fixes.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 10 Jul 2013 11:43:20 +0200 |
parents | ea9eef426962 |
children | 4f702ea1fd3a |
comparison
equal
deleted
inserted
replaced
6556:4875ca46fdcd | 6557:685c2be0541c |
---|---|
1809 | 1809 |
1810 wqInfoService.getWQInfo(locale, river, mm[0], mm[1], | 1810 wqInfoService.getWQInfo(locale, river, mm[0], mm[1], |
1811 new AsyncCallback<WQInfoObject[]>() { | 1811 new AsyncCallback<WQInfoObject[]>() { |
1812 @Override | 1812 @Override |
1813 public void onFailure(Throwable caught) { | 1813 public void onFailure(Throwable caught) { |
1814 GWT.log("Could not recieve wq informations."); | 1814 GWT.log("Could not receive wq informations."); |
1815 SC.warn(caught.getMessage()); | 1815 SC.warn(caught.getMessage()); |
1816 } | 1816 } |
1817 | 1817 |
1818 @Override | 1818 @Override |
1819 public void onSuccess(WQInfoObject[] wqi) { | 1819 public void onSuccess(WQInfoObject[] wqi) { |
1820 int num = wqi != null ? wqi.length :0; | 1820 int num = wqi != null ? wqi.length :0; |
1821 GWT.log("Recieved " + num + " wq informations."); | 1821 GWT.log("Received " + num + " wq informations."); |
1822 | 1822 |
1823 if (num == 0) { | 1823 if (num == 0) { |
1824 return; | 1824 return; |
1825 } | 1825 } |
1826 | 1826 |