Commit 4f4161ad authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade control de nulos

parent 7ffeae42
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -230,6 +230,9 @@ public interface LayerWMSMapper {

		Dimension source = layer.getDimension(property);

		if (source == null)
			return null;

		dimension.setName(source.getName());
		dimension.setUnits(source.getUnits());
		dimension.setUnitSymbol(source.getUnitSymbol());