Merge pull request #2618 from fredj/geom-clone

Indicates that ol.geom.Geometry#clone never return null
This commit is contained in:
Frédéric Junod
2014-08-25 17:10:20 +02:00
+1 -1
View File
@@ -95,7 +95,7 @@ goog.inherits(ol.geom.Geometry, ol.Observable);
/** /**
* Make a complete copy of the geometry. * Make a complete copy of the geometry.
* @function * @function
* @return {ol.geom.Geometry} Clone. * @return {!ol.geom.Geometry} Clone.
* @api stable * @api stable
*/ */
ol.geom.Geometry.prototype.clone = goog.abstractMethod; ol.geom.Geometry.prototype.clone = goog.abstractMethod;