Prefer @override in the case there is no other annotations
See https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler#override
This commit is contained in:
@@ -480,7 +480,7 @@ ol.source.TileUTFGrid.Tile_.prototype.onXHRError_ = function(event) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.source.TileUTFGrid.Tile_.prototype.load = function() {
|
ol.source.TileUTFGrid.Tile_.prototype.load = function() {
|
||||||
if (this.preemptive_) {
|
if (this.preemptive_) {
|
||||||
|
|||||||
@@ -653,7 +653,7 @@ ol.source.Vector.prototype.getOverlaps = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.source.Vector.prototype.getResolutions = function() {};
|
ol.source.Vector.prototype.getResolutions = function() {};
|
||||||
|
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ ol.style.Icon.prototype.getImage = function(pixelRatio) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.getImageSize = function() {
|
ol.style.Icon.prototype.getImageSize = function() {
|
||||||
return this.iconImage_.getSize();
|
return this.iconImage_.getSize();
|
||||||
@@ -292,7 +292,7 @@ ol.style.Icon.prototype.getImageSize = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.getHitDetectionImageSize = function() {
|
ol.style.Icon.prototype.getHitDetectionImageSize = function() {
|
||||||
return this.getImageSize();
|
return this.getImageSize();
|
||||||
@@ -300,7 +300,7 @@ ol.style.Icon.prototype.getHitDetectionImageSize = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.getImageState = function() {
|
ol.style.Icon.prototype.getImageState = function() {
|
||||||
return this.iconImage_.getImageState();
|
return this.iconImage_.getImageState();
|
||||||
@@ -308,7 +308,7 @@ ol.style.Icon.prototype.getImageState = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.getHitDetectionImage = function(pixelRatio) {
|
ol.style.Icon.prototype.getHitDetectionImage = function(pixelRatio) {
|
||||||
return this.iconImage_.getHitDetectionImage(pixelRatio);
|
return this.iconImage_.getHitDetectionImage(pixelRatio);
|
||||||
@@ -366,7 +366,7 @@ ol.style.Icon.prototype.getSize = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.listenImageChange = function(listener, thisArg) {
|
ol.style.Icon.prototype.listenImageChange = function(listener, thisArg) {
|
||||||
return ol.events.listen(this.iconImage_, ol.events.EventType.CHANGE,
|
return ol.events.listen(this.iconImage_, ol.events.EventType.CHANGE,
|
||||||
@@ -388,7 +388,7 @@ ol.style.Icon.prototype.load = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.style.Icon.prototype.unlistenImageChange = function(listener, thisArg) {
|
ol.style.Icon.prototype.unlistenImageChange = function(listener, thisArg) {
|
||||||
ol.events.unlisten(this.iconImage_, ol.events.EventType.CHANGE,
|
ol.events.unlisten(this.iconImage_, ol.events.EventType.CHANGE,
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ ol.VectorTile.prototype.getContext = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.VectorTile.prototype.getImage = function() {
|
ol.VectorTile.prototype.getImage = function() {
|
||||||
return this.replayState_.renderedTileRevision == -1 ?
|
return this.replayState_.renderedTileRevision == -1 ?
|
||||||
|
|||||||
Reference in New Issue
Block a user