Ticket #7732: OsmPrimitvePatch.patch

File OsmPrimitvePatch.patch, 1018 bytes (added by Locked, 14 years ago)

Patch to improve the code

  • OsmPrimitive.java

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: C:\Users\Franz\Documents\NetBeansProjects\JOSM-Plugins\core\src\org\openstreetmap\josm\data\osm
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    856856     */
    857857    public void visitReferrers(Visitor visitor){
    858858        if (visitor == null) return;
    859         if (this.referrers == null)
    860             return;
    861         else if (this.referrers instanceof OsmPrimitive) {
     859        if (this.referrers == null) return;
     860       
     861        if (this.referrers instanceof OsmPrimitive) {
    862862            OsmPrimitive ref = (OsmPrimitive) this.referrers;
    863863            if (ref.dataSet == dataSet) {
    864864                ref.visit(visitor);