Remove unnecessary cast

Found by the latest version of closure-compiler (v20150729)
This commit is contained in:
Frederic Junod
2015-08-10 09:33:34 +02:00
parent c14d64b4e7
commit 4c615d8ddf
8 changed files with 8 additions and 16 deletions

View File

@@ -55,8 +55,7 @@ ol.geom.LineString = function(coordinates, opt_layout) {
*/
this.maxDeltaRevision_ = -1;
this.setCoordinates(coordinates,
/** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout));
this.setCoordinates(coordinates, opt_layout);
};
goog.inherits(ol.geom.LineString, ol.geom.SimpleGeometry);