Fixing visibility (@private/@protected) annotationto introduce compiler warnings for that.

This commit is contained in:
Petr Pridal
2012-06-20 11:35:58 +02:00
parent 25d4ef17fd
commit e0d444551c
4 changed files with 13 additions and 14 deletions

View File

@@ -14,31 +14,31 @@ goog.require('ol.Projection');
ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) {
/**
* @private
* @protected
* @type {number}
*/
this.minX_ = minX;
/**
* @private
* @protected
* @type {number}
*/
this.minY_ = minY;
/**
* @private
* @protected
* @type {number}
*/
this.maxX_ = maxX;
/**
* @private
* @protected
* @type {number}
*/
this.maxY_ = maxY;
/**
* @private
* @protected
* @type {ol.Projection|undefined}
*/
this.projection_ = opt_projection;

View File

@@ -157,7 +157,6 @@ ol.Projection.addTransform = function(from, to, method) {
* @param {!Object} point Object with x and y properties.
* @param {!ol.Projection} source Source projection.
* @param {!ol.Projection} dest Destination projection.
* @private
*/
ol.Projection.transform = function(point, source, dest) {
if (source.proj_ && dest.proj_) {

View File

@@ -5,10 +5,10 @@ goog.provide('ol.TileSet');
* tiles. Tiles of a TileSet have the same resolution, width and
* height.
* @constructor
* @params {Array.<Array.<ol.Tile>>} tiles
* @params {number} tileWidth
* @params {number} tileHeight
* @params {number} resolution
* @param {Array.<Array.<ol.Tile>>} tiles
* @param {number} tileWidth
* @param {number} tileHeight
* @param {number} resolution
*/
ol.TileSet = function(tiles, tileWidth, tileHeight, resolution) {

View File

@@ -10,25 +10,25 @@ goog.provide('ol.UnreferencedBounds');
ol.UnreferencedBounds = function(minX, minY, maxX, maxY) {
/**
* @private
* @protected
* @type {number}
*/
this.minX_ = minX;
/**
* @private
* @protected
* @type {number}
*/
this.minY_ = minY;
/**
* @private
* @protected
* @type {number}
*/
this.maxX_ = maxX;
/**
* @private
* @protected
* @type {number}
*/
this.maxY_ = maxY;