Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WQAutoTabSet.java @ 7556:7597bae608b3
Typo fix in debug output.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 12 Nov 2013 17:10:38 +0100 |
parents | ea9eef426962 |
children |
comparison
equal
deleted
inserted
replaced
7555:74e9768098a0 | 7556:7597bae608b3 |
---|---|
67 String locale = config.getLocale(); | 67 String locale = config.getLocale(); |
68 wqInfoService.getWQInfo(locale, riverName, dist[0], dist[1], | 68 wqInfoService.getWQInfo(locale, riverName, dist[0], dist[1], |
69 new AsyncCallback<WQInfoObject[]>() { | 69 new AsyncCallback<WQInfoObject[]>() { |
70 @Override | 70 @Override |
71 public void onFailure(Throwable caught) { | 71 public void onFailure(Throwable caught) { |
72 GWT.log("Could not recieve wq informations."); | 72 GWT.log("Could not receive wq informations."); |
73 SC.warn(caught.getMessage()); | 73 SC.warn(caught.getMessage()); |
74 } | 74 } |
75 | 75 |
76 @Override | 76 @Override |
77 public void onSuccess(WQInfoObject[] wqi) { | 77 public void onSuccess(WQInfoObject[] wqi) { |
78 int num = wqi != null ? wqi.length :0; | 78 int num = wqi != null ? wqi.length :0; |
79 GWT.log("Recieved " + num + " wq informations."); | 79 GWT.log("Received " + num + " wq informations."); |
80 | 80 |
81 if (num == 0) { | 81 if (num == 0) { |
82 return; | 82 return; |
83 } | 83 } |
84 | 84 |