diff --git a/lib/OpenLayers/Control.js b/lib/OpenLayers/Control.js
index 000f17db40..4548572b42 100644
--- a/lib/OpenLayers/Control.js
+++ b/lib/OpenLayers/Control.js
@@ -35,6 +35,6 @@ OpenLayers.Control.prototype = {
this.map = null;
},
- /** @type String */
+ /** @final @type String */
CLASS_NAME: "OpenLayers.Control"
};
diff --git a/lib/OpenLayers/Control/LayerSwitcher.js b/lib/OpenLayers/Control/LayerSwitcher.js
index ac4b4bdb29..ce04a3348a 100644
--- a/lib/OpenLayers/Control/LayerSwitcher.js
+++ b/lib/OpenLayers/Control/LayerSwitcher.js
@@ -135,7 +135,7 @@ OpenLayers.Control.LayerSwitcher.prototype =
},
- /** @type String */
+ /** @final @type String */
CLASS_NAME: "OpenLayers.Control.LayerSwitcher"
});
diff --git a/lib/OpenLayers/Tile.js b/lib/OpenLayers/Tile.js
index d1976c1c0c..9875e21c16 100644
--- a/lib/OpenLayers/Tile.js
+++ b/lib/OpenLayers/Tile.js
@@ -50,6 +50,7 @@ OpenLayers.Tile.prototype = {
remove:function() {
},
+ /** @final @type String */
CLASS_NAME: "OpenLayers.Tile"
};
diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js
index 4f3485227b..1b99597c22 100644
--- a/lib/OpenLayers/Util.js
+++ b/lib/OpenLayers/Util.js
@@ -88,7 +88,7 @@ OpenLayers.Pixel.prototype = {
return new OpenLayers.Pixel(this.x + x, this.y + y);
},
- /** @type str */
+ /** @final @type str */
CLASS_NAME: "OpenLayers.Pixel"
};
@@ -117,7 +117,7 @@ OpenLayers.Size.prototype = {
/**
* @return String representation of OpenLayers.Size object.
- * (ex. "w=55,h=66")
+ * (ex. "w=55,h=66")
* @type String
*/
toString:function() {
@@ -143,7 +143,7 @@ OpenLayers.Size.prototype = {
return ((this.w == sz.w) && (this.h == sz.h));
},
- /** @type String */
+ /** @final @type String */
CLASS_NAME: "OpenLayers.Size"
};
@@ -172,7 +172,7 @@ OpenLayers.LonLat.prototype = {
/**
* @return String representation of OpenLayers.LonLat object.
- * (ex. "lon=5,lat=42")
+ * (ex. "lon=5,lat=42")
* @type String
*/
toString:function() {
@@ -181,7 +181,7 @@ OpenLayers.LonLat.prototype = {
/**
* @return Shortened String representation of OpenLayers.LonLat object.
- * (ex. "5,42")
+ * (ex. "5,42")
* @type String
*/
toShortString:function() {
@@ -217,7 +217,7 @@ OpenLayers.LonLat.prototype = {
return ((this.lon == ll.lon) && (this.lat == ll.lat));
},
- /** @type String */
+ /** @final @type String */
CLASS_NAME: "OpenLayers.LonLat"
};
@@ -226,7 +226,8 @@ OpenLayers.LonLat.prototype = {
*
* @constructor
*
-* @param {String} str Comma-separated Lon,Lat coordinate string. (ex. "5,40")
+* @param {String} str Comma-separated Lon,Lat coordinate string.
+* (ex. "5,40")
*
* @returns New OpenLayers.LonLat object built from the passed-in String.
* @type OpenLayers.LonLat
@@ -284,13 +285,13 @@ OpenLayers.Bounds.prototype = {
/**
* @return String representation of OpenLayers.Bounds object.
- * (ex. "Min lon/lat=5/42 Max lon/lat=10/45 width:5 height:3")
+ * (ex."Min lon/lat=5/42 Max lon/lat=10/45 width=5 height=3")
* @type String
*/
toString:function(){
return ("Min lon/lat=" + this.minlon +"/"+ this.minlat
+ " Max lon/lat=" + this.maxlon +"/"+ this.maxlat
- + " width:" + this.width + " height:" + this.height);
+ + " width=" + this.width + " height=" + this.height);
},
/**
@@ -304,7 +305,7 @@ OpenLayers.Bounds.prototype = {
/**
* @return Simple String representation of OpenLayers.Bounds object.
- * (ex. "5,42,10,45")
+ * (ex. "5,42,10,45")
* @type String
*/
toBBOX:function(){
@@ -323,7 +324,7 @@ OpenLayers.Bounds.prototype = {
&& (ll.lat >= this.minlat) && (ll.lat <= this.maxlat));
},
- /** @type String */
+ /** @final @type String */
CLASS_NAME: "OpenLayers.Bounds"
};
@@ -332,7 +333,7 @@ OpenLayers.Bounds.prototype = {
*
* @constructor
*
-* @param {String} str Comma-separated bounds string. (ex. "5,42,10,45")
+* @param {String} str Comma-separated bounds string. (ex. "5,42,10,45")
*
* @returns New OpenLayers.Bounds object built from the passed-in String.
* @type OpenLayers.Bounds