Changeset 8340 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2015-05-08T07:48:59+02:00 (9 years ago)
Author:
stoecker
Message:

#see #11409 - small design improvement

Location:
trunk/src/org/openstreetmap/josm/io/remotecontrol
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpServer.java

    r8339 r8340  
    6161            try {
    6262                instance4.stopServer();
    63                 instance4 = null;
    6463            } catch (IOException ioe) {
    6564                Main.error(ioe);
    6665            }
     66            instance4 = null;
    6767        }
    6868        if (instance6 != null) {
    6969            try {
    7070                instance6.stopServer();
    71                 instance6 = null;
    7271            } catch (IOException ioe) {
    7372                Main.error(ioe);
    7473            }
     74            instance6 = null;
    7575        }
    7676    }
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java

    r8339 r8340  
    351351            try {
    352352                instance4.stopServer();
    353                 instance4 = null;
    354353            } catch (IOException ioe) {
    355354                Main.error(ioe);
    356355            }
     356            instance4 = null;
    357357        }
    358358        if (instance6 != null) {
    359359            try {
    360360                instance6.stopServer();
    361                 instance6 = null;
    362361            } catch (IOException ioe) {
    363362                Main.error(ioe);
    364363            }
     364            instance6 = null;
    365365        }
    366366    }
Note: See TracChangeset for help on using the changeset viewer.