[mapserver-commits] r11750 -
branches/branch-6-0/mapserver/mapscript/java/tests/threadtest
svn at osgeo.org
svn at osgeo.org
Mon May 23 03:43:10 EDT 2011
Author: unicoletti
Date: 2011-05-23 00:43:09 -0700 (Mon, 23 May 2011)
New Revision: 11750
Modified:
branches/branch-6-0/mapserver/mapscript/java/tests/threadtest/MapThread.java
Log:
backport of #3887: make java threadtests compile again after api changes
Modified: branches/branch-6-0/mapserver/mapscript/java/tests/threadtest/MapThread.java
===================================================================
--- branches/branch-6-0/mapserver/mapscript/java/tests/threadtest/MapThread.java 2011-05-23 07:37:23 UTC (rev 11749)
+++ branches/branch-6-0/mapserver/mapscript/java/tests/threadtest/MapThread.java 2011-05-23 07:43:09 UTC (rev 11750)
@@ -57,7 +57,8 @@
layerObj layer = map.getLayer(3);
if (layer!=null) {
layer.open();
- shapeObj shape=layer.getFeature(0,-1);
+ layer.queryByIndex(map,0,-1,mapscriptConstants.MS_FALSE);
+ shapeObj shape=layer.getShape(layer.getResults().getResult(0));
if (shape!=null) {
shapeObj buffer=shape.buffer(0.1);
if (buffer != null) {
More information about the mapserver-commits
mailing list