Revision 12333 trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/correction/MedianListManager.java

View differences:

MedianListManager.java
29 29
import org.gvsig.raster.util.extensionPoints.ExtensionPointsSingleton;
30 30
/**
31 31
 * Gestor de la pila de filtros para el filtro de mediana.
32
 * 
32
 *
33 33
 * @author Diego Guerrero Sevilla  <diego.guerrero@uclm.es>
34 34
 */
35 35
public class MedianListManager implements IRasterFilterListManager {
......
122 122
			int ladoVentana = 0;
123 123
			for (int i = 0; i < params.getNumParams(); i++) {
124 124
				if (params.getParam(i).id.equals("LadoVentana"))
125
					ladoVentana = new Integer(params.getParam(i).defaultValue).intValue();
125
					ladoVentana = new Integer((String) params.getParam(i).defaultValue).intValue();
126 126
			}
127 127
			addMedianFilter(ladoVentana);
128 128
		}

Also available in: Unified diff