Remove checksum interface

This commit is contained in:
Tim Schaub
2016-01-04 21:58:03 -07:00
parent 2f1975636a
commit aeffd48ccb
5 changed files with 4 additions and 28 deletions

View File

@@ -1,16 +0,0 @@
goog.provide('ol.structs.IHasChecksum');
/**
* @interface
*/
ol.structs.IHasChecksum = function() {
};
/**
* @return {string} The checksum.
*/
ol.structs.IHasChecksum.prototype.getChecksum = function() {
};

View File

@@ -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_ ?

View File

@@ -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) {

View File

@@ -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_ ?

View File

@@ -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) {