OpenLayers OpenLayers

Ticket #853: className.patch

File className.patch, 30.5 kB (added by euzuro, 1 year ago)

remove all instances of the /** @final @type String */

  • lib/OpenLayers/Events.js

    old new  
    317317            OpenLayers.Event.observers = false; 
    318318        } 
    319319    }, 
    320      
    321     /** @final @type String */ 
     320 
    322321    CLASS_NAME: "OpenLayers.Event" 
    323322}; 
    324323 
     
    663662        );  
    664663    }, 
    665664 
    666     /** @final @type String */ 
    667665    CLASS_NAME: "OpenLayers.Events" 
    668666}); 
  • lib/OpenLayers/Control/OverviewMap.js

    old new  
    681681        return px; 
    682682    }, 
    683683 
    684     /** @final @type String */ 
    685684    CLASS_NAME: 'OpenLayers.Control.OverviewMap' 
    686      
    687685}); 
  • lib/OpenLayers/Control/DrawFeature.js

    old new  
    6464        this.featureAdded(feature); 
    6565    }, 
    6666 
    67     /** @final @type String */ 
    6867    CLASS_NAME: "OpenLayers.Control.DrawFeature" 
    6968}); 
  • lib/OpenLayers/Control/DragPan.js

    old new  
    6868        this.handler.start = xy; 
    6969    }, 
    7070 
    71     /** @final @type String */ 
    7271    CLASS_NAME: "OpenLayers.Control.DragPan" 
    7372}); 
  • lib/OpenLayers/Control/MousePosition.js

    old new  
    121121        OpenLayers.Control.prototype.setMap.apply(this, arguments); 
    122122        this.map.events.register( 'mousemove', this, this.redraw); 
    123123    },      
    124      
    125     /** @final @type String */ 
     124 
    126125    CLASS_NAME: "OpenLayers.Control.MousePosition" 
    127126}); 
  • lib/OpenLayers/Control/MouseDefaults.js

    old new  
    340340            OpenLayers.Event.stop(e); 
    341341        } 
    342342    }, 
    343      
    344      
    345     /** @final @type String */ 
     343 
    346344    CLASS_NAME: "OpenLayers.Control.MouseDefaults" 
    347345}); 
    348346 
  • lib/OpenLayers/Control/Permalink.js

    old new  
    121121        this.element.href = href; 
    122122    },  
    123123 
    124     /** @final @type String */ 
    125124    CLASS_NAME: "OpenLayers.Control.Permalink" 
    126125}); 
  • lib/OpenLayers/Control/PanZoom.js

    old new  
    175175        OpenLayers.Event.stop(evt); 
    176176    }, 
    177177 
    178     /** @final @type String */ 
    179178    CLASS_NAME: "OpenLayers.Control.PanZoom" 
    180179}); 
    181180 
  • lib/OpenLayers/Control/LayerSwitcher.js

    old new  
    549549        } 
    550550    }, 
    551551 
    552     /** @final @type String */ 
    553552    CLASS_NAME: "OpenLayers.Control.LayerSwitcher" 
    554553}); 
  • lib/OpenLayers/Control/ZoomToMaxExtent.js

    old new  
    2828            this.map.zoomToMaxExtent(); 
    2929        }     
    3030    }, 
    31     /** @final @type String */ 
     31 
    3232    CLASS_NAME: "OpenLayers.Control.ZoomToMaxExtent" 
    3333}); 
  • lib/OpenLayers/Control/ArgParser.js

    old new  
    125125            } 
    126126        } 
    127127    },      
    128      
    129     /** @final @type String */ 
     128 
    130129    CLASS_NAME: "OpenLayers.Control.ArgParser" 
    131130}); 
  • lib/OpenLayers/Control/Scale.js

    old new  
    6666         
    6767        this.element.innerHTML = "Scale = 1 : " + scale; 
    6868    },  
    69      
    70     /** @final @type String */ 
     69 
    7170    CLASS_NAME: "OpenLayers.Control.Scale" 
    7271}); 
    7372 
  • lib/OpenLayers/Control/KeyboardDefaults.js

    old new  
    101101                break; 
    102102        }  
    103103    }, 
    104      
    105     /** @final @type String */ 
     104 
    106105    CLASS_NAME: "OpenLayers.Control.KeyboardDefaults" 
    107106}); 
  • lib/OpenLayers/Control/ZoomBox.js

    old new  
    4747        } 
    4848    }, 
    4949 
    50     /** @final @type String */ 
    5150    CLASS_NAME: "OpenLayers.Control.ZoomBox" 
    5251}); 
  • lib/OpenLayers/Control/Panel.js

    old new  
    190190        OpenLayers.Event.stop(evt ? evt : window.event); 
    191191        this.activateControl(ctrl); 
    192192    }, 
    193      
    194     /** @final @type String */ 
     193 
    195194    CLASS_NAME: "OpenLayers.Control.Panel" 
    196195}); 
    197196 
  • lib/OpenLayers/Control/Navigation.js

    old new  
    142142    wheelDown: function(evt) { 
    143143        this.wheelChange(evt, -1); 
    144144    }, 
    145      
    146     /** @final @type String */ 
     145 
    147146    CLASS_NAME: "OpenLayers.Control.Navigation" 
    148147}); 
  • lib/OpenLayers/Renderer.js

    old new  
    206206     * geometry - {<OpenLayers.Geometry>}  
    207207     */ 
    208208    eraseGeometry: function(geometry) {}, 
    209          
    210     /** @final @type String */ 
     209 
    211210    CLASS_NAME: "OpenLayers.Renderer" 
    212211}); 
  • lib/OpenLayers/Marker/Box.js

    old new  
    111111    display: function(display) { 
    112112        this.div.style.display = (display) ? "" : "none"; 
    113113    }, 
    114      
    115     /** @final @type String */ 
     114 
    116115    CLASS_NAME: "OpenLayers.Marker.Box" 
    117116}); 
    118117 
  • lib/OpenLayers/Layer.js

    old new  
    857857        return bounds; 
    858858    }, 
    859859 
    860     /** @final @type String */ 
    861860    CLASS_NAME: "OpenLayers.Layer" 
    862861}); 
  • lib/OpenLayers/Handler.js

    old new  
    218218        this.control = this.map = null; 
    219219    }, 
    220220 
    221     /** @final @type String */ 
    222221    CLASS_NAME: "OpenLayers.Handler" 
    223222}); 
    224223 
  • lib/OpenLayers/Format/WKT.js

    old new  
    326326 
    327327    }, 
    328328 
    329     /** @final @type String */ 
    330329    CLASS_NAME: "OpenLayers.Format.WKT"  
    331  
    332330});      
  • lib/OpenLayers/Format/GML.js

    old new  
    503503         
    504504        return coordinatesNode; 
    505505    }, 
    506      
    507     /** @final @type String */ 
    508     CLASS_NAME: "OpenLayers.Format.GML"  
    509506 
     507    CLASS_NAME: "OpenLayers.Format.GML"  
    510508});      
  • lib/OpenLayers/Format/WFS.js

    old new  
    179179        this.layer = null; 
    180180    }, 
    181181 
    182     /** @final @type String */ 
    183182    CLASS_NAME: "OpenLayers.Format.WFS"  
    184  
    185183});     
  • lib/OpenLayers/Format/GeoRSS.js

    old new  
    148148        return document.createTextNode(path); 
    149149    }, 
    150150 
    151     /** @final @type String */ 
    152151    CLASS_NAME: "OpenLayers.Format.GeoRSS"  
    153  
    154152});      
  • lib/OpenLayers/Format/KML.js

    old new  
    191191        return p; 
    192192    }, 
    193193 
    194     /** @final @type String */ 
    195194    CLASS_NAME: "OpenLayers.Format.KML"  
    196      
    197195});      
  • lib/OpenLayers/Feature/WFS.js

    old new  
    6868                id: null}; 
    6969 
    7070    }, 
    71      
    72     /** @final @type String */ 
     71 
    7372    CLASS_NAME: "OpenLayers.Feature.WFS" 
    7473}); 
    7574   
  • lib/OpenLayers/Geometry/Curve.js

    old new  
    4949        } 
    5050        return length; 
    5151    }, 
    52      
    53     /** @final @type String */ 
     52 
    5453    CLASS_NAME: "OpenLayers.Geometry.Curve" 
    5554}); 
  • lib/OpenLayers/Geometry/MultiPoint.js

    old new  
    6262        this.removeComponent(point); 
    6363    }, 
    6464 
    65     /** @final @type String */ 
    6665    CLASS_NAME: "OpenLayers.Geometry.MultiPoint" 
    6766}); 
  • lib/OpenLayers/Geometry/Rectangle.js

    old new  
    8989        return area; 
    9090    },     
    9191 
    92     /** @final @type String */ 
    9392    CLASS_NAME: "OpenLayers.Geometry.Rectangle" 
    9493}); 
  • lib/OpenLayers/Geometry/Polygon.js

    old new  
    5757        return area; 
    5858    }, 
    5959 
    60     /** @final @type String */ 
    6160    CLASS_NAME: "OpenLayers.Geometry.Polygon" 
    6261}); 
  • lib/OpenLayers/Geometry/Surface.js

    old new  
    1717        OpenLayers.Geometry.prototype.initialize.apply(this, arguments); 
    1818    }, 
    1919 
    20     /** @final @type String */ 
    2120    CLASS_NAME: "OpenLayers.Geometry.Surface" 
    2221}); 
  • lib/OpenLayers/Geometry/MultiLineString.js

    old new  
    3737                                                                  arguments);         
    3838    }, 
    3939 
    40     /** @final @type String */ 
    4140    CLASS_NAME: "OpenLayers.Geometry.MultiLineString" 
    4241}); 
  • lib/OpenLayers/Geometry/Point.js

    old new  
    163163        this.y = origin.y + (scale * (this.y - origin.y)); 
    164164    }, 
    165165 
    166     /** @final @type String */ 
    167166    CLASS_NAME: "OpenLayers.Geometry.Point" 
    168167}); 
  • lib/OpenLayers/Geometry/LinearRing.js

    old new  
    131131        return area; 
    132132    }, 
    133133 
    134     /** @final @type String */ 
    135134    CLASS_NAME: "OpenLayers.Geometry.LinearRing" 
    136135}); 
  • lib/OpenLayers/Geometry/LineString.js

    old new  
    4141                                                                  arguments); 
    4242        } 
    4343    }, 
    44         
    45     /** @final @type String */ 
     44 
    4645    CLASS_NAME: "OpenLayers.Geometry.LineString" 
    4746}); 
  • lib/OpenLayers/Geometry/MultiPolygon.js

    old new  
    3737        OpenLayers.Geometry.Collection.prototype.initialize.apply(this,  
    3838                                                                  arguments); 
    3939    }, 
    40      
    41     /** @final @type String */ 
     40 
    4241    CLASS_NAME: "OpenLayers.Geometry.MultiPolygon" 
    4342}); 
  • lib/OpenLayers/Control.js

    old new  
    232232        } 
    233233        return false; 
    234234    }, 
    235      
    236     /** @final @type String */ 
     235 
    237236    CLASS_NAME: "OpenLayers.Control" 
    238237}); 
    239238 
  • lib/OpenLayers/Marker.js

    old new  
    167167    display: function(display) { 
    168168        this.icon.display(display); 
    169169    }, 
    170      
    171     /** @final @type String */ 
     170 
    172171    CLASS_NAME: "OpenLayers.Marker" 
    173172}); 
    174173 
  • lib/OpenLayers/Tile/WFS.js

    old new  
    145145            feature.destroy(); 
    146146        } 
    147147    }, 
    148      
    149     /** @final @type String */ 
     148 
    150149    CLASS_NAME: "OpenLayers.Tile.WFS" 
    151150  } 
    152151); 
  • lib/OpenLayers/BaseTypes/LonLat.js

    old new  
    142142                 
    143143        return newLonLat; 
    144144    }, 
    145      
    146     /** @final @type String */ 
     145 
    147146    CLASS_NAME: "OpenLayers.LonLat" 
    148147}); 
    149148 
  • lib/OpenLayers/BaseTypes/Bounds.js

    old new  
    453453                 
    454454        return newBounds; 
    455455    }, 
    456      
    457     /** @final @type String */ 
     456 
    458457    CLASS_NAME: "OpenLayers.Bounds" 
    459458}); 
    460459 
  • lib/OpenLayers/BaseTypes/Size.js

    old new  
    7979        } 
    8080        return equals; 
    8181    }, 
    82      
    83     /** @final @type String */ 
     82 
    8483    CLASS_NAME: "OpenLayers.Size" 
    8584}); 
  • lib/OpenLayers/BaseTypes/Pixel.js

    old new  
    115115        } 
    116116        return newPx; 
    117117    }, 
    118      
    119     /** @final @type str */ 
     118 
    120119    CLASS_NAME: "OpenLayers.Pixel" 
    121120}); 
  • lib/OpenLayers/Popup/AnchoredBubble.js

    old new  
    181181        return corners.join(" "); 
    182182    }, 
    183183 
    184     /** @final @type String */ 
    185184    CLASS_NAME: "OpenLayers.Popup.AnchoredBubble" 
    186185}); 
    187186 
  • lib/OpenLayers/Popup/Anchored.js

    old new  
    142142        return newPx;    
    143143    }, 
    144144 
    145     /** @final @type String */ 
    146145    CLASS_NAME: "OpenLayers.Popup.Anchored" 
    147146}); 
  • lib/OpenLayers/Icon.js

    old new  
    178178    display: function(display) { 
    179179        this.imageDiv.style.display = (display) ? "" : "none";  
    180180    }, 
    181      
    182     /** @final @type String */ 
     181 
    183182    CLASS_NAME: "OpenLayers.Icon" 
    184183}); 
  • lib/OpenLayers/Format.js

    old new  
    5555        alert("Write not implemented."); 
    5656    }, 
    5757 
    58     /** @final @type String */ 
    5958    CLASS_NAME: "OpenLayers.Format" 
    60  
    6159});      
  • lib/OpenLayers/Renderer/Elements.js

    old new  
    350350        return node; 
    351351    }, 
    352352 
    353     /** @final @type String */ 
    354353    CLASS_NAME: "OpenLayers.Renderer.Elements" 
    355354}); 
  • lib/OpenLayers/Renderer/VML.js

    old new  
    551551        node.path = path; 
    552552    }, 
    553553 
    554     /** @final @type String*/ 
    555554    CLASS_NAME: "OpenLayers.Renderer.VML" 
    556555}); 
  • lib/OpenLayers/Renderer/SVG.js

    old new  
    543543        return string; 
    544544         
    545545    }, 
    546      
    547     /** @final @type String */ 
     546 
    548547    CLASS_NAME: "OpenLayers.Renderer.SVG" 
    549548}); 
  • lib/OpenLayers/Geometry.js

    old new  
    186186        ); 
    187187    }, 
    188188 
    189     /** @final @type String*/ 
    190189    CLASS_NAME: "OpenLayers.Geometry" 
    191190}); 
  • lib/OpenLayers/Feature.js

    old new  
    199199    destroyPopup: function() { 
    200200        this.popup.destroy()  
    201201    }, 
    202      
    203     /** @final @type String */ 
     202 
    204203    CLASS_NAME: "OpenLayers.Feature" 
    205204}); 
  • lib/OpenLayers/Tile.js

    old new  
    227227        return bounds; 
    228228    },         
    229229 
    230     /** @final @type String */ 
    231230    CLASS_NAME: "OpenLayers.Tile" 
    232231}); 
  • lib/OpenLayers/Layer/Markers.js

    old new  
    138138            } 
    139139        } 
    140140    }, 
    141      
    142     /** @final @type String */ 
     141 
    143142    CLASS_NAME: "OpenLayers.Layer.Markers" 
    144143}); 
  • lib/OpenLayers/Layer/MapServer.js

    old new  
    190190        } 
    191191        return requestString; 
    192192    }, 
    193      
    194     /** @final @type String */ 
     193 
    195194    CLASS_NAME: "OpenLayers.Layer.MapServer" 
    196195}); 
  • lib/OpenLayers/Layer/WMS.js

    old new  
    204204        return OpenLayers.Layer.Grid.prototype.getFullRequestString.apply( 
    205205                                                    this, arguments); 
    206206    }, 
    207      
    208     /** @final @type String */ 
     207 
    209208    CLASS_NAME: "OpenLayers.Layer.WMS" 
    210209}); 
  • lib/OpenLayers/Layer/WorldWind.js

    old new  
    110110 
    111111    }, 
    112112 
    113     /** @final @type String */ 
    114113    CLASS_NAME: "OpenLayers.Layer.WorldWind" 
    115114}); 
  • lib/OpenLayers/Layer/VirtualEarth.js

    old new  
    269269        return new Msn.VE.Pixel(x, y); 
    270270    }, 
    271271 
    272     /** @final @type String */ 
    273272    CLASS_NAME: "OpenLayers.Layer.VirtualEarth" 
    274273}); 
  • lib/OpenLayers/Layer/Google.js

    old new  
    447447        return new GPoint(x, y); 
    448448    }, 
    449449 
    450     /** @final @type String */ 
    451450    CLASS_NAME: "OpenLayers.Layer.Google" 
    452451}); 
  • lib/OpenLayers/Layer/GML.js

    old new  
    127127        alert("Error in loading GML file "+this.url); 
    128128    }, 
    129129 
    130     /** @final @type String */ 
    131130    CLASS_NAME: "OpenLayers.Layer.GML" 
    132     }); 
     131}); 
  • lib/OpenLayers/Layer/FixedZoomLevels.js

    old new  
    245245        return zoom; 
    246246    }, 
    247247 
    248  
    249     /** @final @type String */ 
    250248    CLASS_NAME: "FixedZoomLevels.js" 
    251249}); 
    252250 
  • lib/OpenLayers/Layer/Yahoo.js

    old new  
    337337        return new YCoordPoint(x, y); 
    338338    }, 
    339339 
    340     /** @final @type String */ 
    341340    CLASS_NAME: "OpenLayers.Layer.Yahoo" 
    342341}); 
  • lib/OpenLayers/Layer/Boxes.js

    old new  
    6969        } 
    7070    }, 
    7171 
    72     /** @final @type String */ 
    7372    CLASS_NAME: "OpenLayers.Layer.Boxes" 
    7473}); 
  • lib/OpenLayers/Layer/Image.js

    old new  
    201201    getURL: function(bounds) { 
    202202        return this.url; 
    203203    }, 
    204          
    205     /** @final @type String */ 
     204 
    206205    CLASS_NAME: "OpenLayers.Layer.Image" 
    207206}); 
  • lib/OpenLayers/Layer/Text.js

    old new  
    181181            } 
    182182        }         
    183183    }, 
    184      
    185     /** @final @type String */ 
     184 
    186185    CLASS_NAME: "OpenLayers.Layer.Text" 
    187186}); 
    188187      
  • lib/OpenLayers/Layer/EventPane.js

    old new  
    375375        return moPixel; 
    376376    }, 
    377377 
    378     /** @final @type String */ 
    379378    CLASS_NAME: "OpenLayers.Layer.EventPane" 
    380379}); 
  • lib/OpenLayers/Layer/Grid.js

    old new  
    650650        } 
    651651    }, 
    652652 
    653     /** @final @type String */ 
    654653    CLASS_NAME: "OpenLayers.Layer.Grid" 
    655654}); 
  • lib/OpenLayers/Layer/MultiMap.js

    old new  
    255255        return new MMPoint(x, y); 
    256256    }, 
    257257 
    258     /** @final @type String */ 
    259258    CLASS_NAME: "OpenLayers.Layer.MultiMap" 
    260259}); 
  • lib/OpenLayers/Layer/HTTPRequest.js

    old new  
    209209        return requestString; 
    210210    }, 
    211211 
    212     /** @final @type String */ 
    213212    CLASS_NAME: "OpenLayers.Layer.HTTPRequest" 
    214213}); 
  • lib/OpenLayers/Layer/KaMap.js

    old new  
    226226        return obj; 
    227227    },     
    228228 
    229     /** @final @type String */ 
    230229    CLASS_NAME: "OpenLayers.Layer.KaMap" 
    231230}); 
  • lib/OpenLayers/Layer/WMS/Untiled.js

    old new  
    3939                  "'singleTile' as true."; 
    4040        OpenLayers.Console.warn(msg); 
    4141    },     
    42      
    43     /** @final @type String */ 
     42 
    4443    CLASS_NAME: "OpenLayers.Layer.WMS.Untiled" 
    4544}); 
  • lib/OpenLayers/Layer/WFS.js

    old new  
    391391            this.tile.draw(); 
    392392        } 
    393393    }, 
    394      
    395     /** @final @type String */ 
     394 
    396395    CLASS_NAME: "OpenLayers.Layer.WFS" 
    397396}); 
  • lib/OpenLayers/Layer/Vector.js

    old new  
    429429    preFeatureInsert: function(feature) { 
    430430    }, 
    431431 
    432     /** @final @type String */ 
    433432    CLASS_NAME: "OpenLayers.Layer.Vector" 
    434433}); 
  • lib/OpenLayers/Layer/TMS.js

    old new  
    136136        }                                        
    137137    }, 
    138138 
    139     /** @final @type String */ 
    140139    CLASS_NAME: "OpenLayers.Layer.TMS" 
    141140}); 
  • lib/OpenLayers/Handler/Polygon.js

    old new  
    117117        return false; 
    118118    }, 
    119119 
    120     /** @final @type String */ 
    121120    CLASS_NAME: "OpenLayers.Handler.Polygon" 
    122121}); 
  • lib/OpenLayers/Handler/Point.js

    old new  
    261261        } 
    262262    }, 
    263263 
    264     /** @final @type String */ 
    265264    CLASS_NAME: "OpenLayers.Handler.Point" 
    266265}); 
  • lib/OpenLayers/Handler/Feature.js

    old new  
    161161        } 
    162162    }, 
    163163 
    164     /** @final @type String */ 
    165164    CLASS_NAME: "OpenLayers.Handler.Feature" 
    166165}); 
  • lib/OpenLayers/Handler/Path.js

    old new  
    237237        } 
    238238        return false; 
    239239    }, 
    240      
    241     /** @final @type String */ 
     240 
    242241    CLASS_NAME: "OpenLayers.Handler.Path" 
    243242}); 
  • lib/OpenLayers/Handler/Drag.js

    old new  
    223223        } 
    224224    }, 
    225225 
    226     /** @final @type String */ 
    227226    CLASS_NAME: "OpenLayers.Handler.Drag" 
    228227}); 
  • lib/OpenLayers/Handler/MouseWheel.js

    old new  
    153153        } 
    154154    }, 
    155155 
    156     /** @final @type String */ 
    157156    CLASS_NAME: "OpenLayers.Handler.MouseWheel" 
    158157}); 
  • lib/OpenLayers/Handler/Keyboard.js

    old new  
    8787        } 
    8888    }, 
    8989 
    90     /** @final @type String */ 
    9190    CLASS_NAME: "OpenLayers.Handler.Keyboard" 
    9291}); 
  • lib/OpenLayers/Console.js

    old new  
    201201     */ 
    202202    count: function() {}, 
    203203 
    204     /** @final @type String */ 
    205204    CLASS_NAME: "OpenLayers.Console" 
    206205}; 
    207206 
  • lib/OpenLayers/Popup.js

    old new  
    484484        OpenLayers.Event.stop(evt, true); 
    485485    }, 
    486486 
    487     /** @final @type String */ 
    488487    CLASS_NAME: "OpenLayers.Popup" 
    489488}); 
    490489