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
+1 -2
View File
@@ -24,8 +24,7 @@ goog.require('ol.proj');
ol.geom.Circle = function(center, opt_radius, opt_layout) {
goog.base(this);
var radius = goog.isDef(opt_radius) ? opt_radius : 0;
this.setCenterAndRadius(center, radius,
/** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout));
this.setCenterAndRadius(center, radius, opt_layout);
};
goog.inherits(ol.geom.Circle, ol.geom.SimpleGeometry);