[PATCH 2 of 7] Fixed compile errors for smartgwt 4.1

Wald Commits scm-commit at wald.intevation.org
Wed Jun 18 14:29:17 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1403094301 -7200
# Node ID 217ff570d83fe0b15d3f0fb81de10fda4f639f4d
# Parent  6e852a6c72f2ba0c1210fa24130831c947303ec2
Fixed compile errors for smartgwt 4.1.

diff -r 6e852a6c72f2 -r 217ff570d83f gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java	Wed Jun 18 14:23:25 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java	Wed Jun 18 14:25:01 2014 +0200
@@ -494,7 +494,7 @@
             SC.warn(msg);
 
             ListGridRecord[] rs = grid.getRecords();
-            rs[row] = (ListGridRecord) event.getOldRecord();
+            rs[row] = (ListGridRecord) event.getOldValues();
             grid.setRecords(rs);
 
             return;
diff -r 6e852a6c72f2 -r 217ff570d83f gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java	Wed Jun 18 14:23:25 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java	Wed Jun 18 14:25:01 2014 +0200
@@ -219,7 +219,7 @@
                     catch (NumberFormatException nfe) {
                         SC.warn(MSG.ele_window_format_error() + " " + z);
 
-                        PointRecord old = (PointRecord) evt.getOldRecord();
+                        PointRecord old = (PointRecord) evt.getOldValues();
 
                         ListGridRecord[] records = grid.getRecords();
                         records[evt.getRowNum()] = old;


More information about the Dive4Elements-commits mailing list