diff --git a/src/ol/structs/checksum.js b/src/ol/structs/checksum.js deleted file mode 100644 index ff72308ad2..0000000000 --- a/src/ol/structs/checksum.js +++ /dev/null @@ -1,16 +0,0 @@ -goog.provide('ol.structs.IHasChecksum'); - - - -/** - * @interface - */ -ol.structs.IHasChecksum = function() { -}; - - -/** - * @return {string} The checksum. - */ -ol.structs.IHasChecksum.prototype.getChecksum = function() { -}; diff --git a/src/ol/style/circlestyle.js b/src/ol/style/circlestyle.js index ea4658a0c2..3fc8d8b4ca 100644 --- a/src/ol/style/circlestyle.js +++ b/src/ol/style/circlestyle.js @@ -5,7 +5,6 @@ goog.require('ol'); goog.require('ol.color'); goog.require('ol.has'); goog.require('ol.render.canvas'); -goog.require('ol.structs.IHasChecksum'); goog.require('ol.style.Fill'); goog.require('ol.style.Image'); goog.require('ol.style.ImageState'); @@ -20,7 +19,6 @@ goog.require('ol.style.Stroke'); * @constructor * @param {olx.style.CircleOptions=} opt_options Options. * @extends {ol.style.Image} - * @implements {ol.structs.IHasChecksum} * @api */ ol.style.Circle = function(opt_options) { @@ -419,7 +417,7 @@ ol.style.Circle.prototype.drawHitDetectionCanvas_ = /** - * @inheritDoc + * @return {string} The checksum. */ ol.style.Circle.prototype.getChecksum = function() { var strokeChecksum = this.stroke_ ? diff --git a/src/ol/style/fillstyle.js b/src/ol/style/fillstyle.js index e322df400b..bd80d7a3fd 100644 --- a/src/ol/style/fillstyle.js +++ b/src/ol/style/fillstyle.js @@ -1,7 +1,6 @@ goog.provide('ol.style.Fill'); goog.require('ol.color'); -goog.require('ol.structs.IHasChecksum'); @@ -11,7 +10,6 @@ goog.require('ol.structs.IHasChecksum'); * * @constructor * @param {olx.style.FillOptions=} opt_options Options. - * @implements {ol.structs.IHasChecksum} * @api */ ol.style.Fill = function(opt_options) { @@ -55,7 +53,7 @@ ol.style.Fill.prototype.setColor = function(color) { /** - * @inheritDoc + * @return {string} The checksum. */ ol.style.Fill.prototype.getChecksum = function() { if (this.checksum_ === undefined) { diff --git a/src/ol/style/regularshapestyle.js b/src/ol/style/regularshapestyle.js index c02786ae3c..8979b046b7 100644 --- a/src/ol/style/regularshapestyle.js +++ b/src/ol/style/regularshapestyle.js @@ -5,7 +5,6 @@ goog.require('ol'); goog.require('ol.color'); goog.require('ol.has'); goog.require('ol.render.canvas'); -goog.require('ol.structs.IHasChecksum'); goog.require('ol.style.AtlasManager'); goog.require('ol.style.Fill'); goog.require('ol.style.Image'); @@ -23,7 +22,6 @@ goog.require('ol.style.Stroke'); * @constructor * @param {olx.style.RegularShapeOptions} options Options. * @extends {ol.style.Image} - * @implements {ol.structs.IHasChecksum} * @api */ ol.style.RegularShape = function(options) { @@ -517,7 +515,7 @@ ol.style.RegularShape.prototype.drawHitDetectionCanvas_ = /** - * @inheritDoc + * @return {string} The checksum. */ ol.style.RegularShape.prototype.getChecksum = function() { var strokeChecksum = this.stroke_ ? diff --git a/src/ol/style/strokestyle.js b/src/ol/style/strokestyle.js index 52a7e29f86..a103c80eb9 100644 --- a/src/ol/style/strokestyle.js +++ b/src/ol/style/strokestyle.js @@ -3,7 +3,6 @@ goog.provide('ol.style.Stroke'); goog.require('goog.crypt'); goog.require('goog.crypt.Md5'); goog.require('ol.color'); -goog.require('ol.structs.IHasChecksum'); @@ -16,7 +15,6 @@ goog.require('ol.structs.IHasChecksum'); * * @constructor * @param {olx.style.StrokeOptions=} opt_options Options. - * @implements {ol.structs.IHasChecksum} * @api */ ol.style.Stroke = function(opt_options) { @@ -200,7 +198,7 @@ ol.style.Stroke.prototype.setWidth = function(width) { /** - * @inheritDoc + * @return {string} The checksum. */ ol.style.Stroke.prototype.getChecksum = function() { if (this.checksum_ === undefined) {