Ignore:
Timestamp:
2013-04-09T21:06:54+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8586 - Remote Control: allow imagery handler to work without any mapFrame + add wiki link in HTTP 400 error message

File:
1 edited

Legend:

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

    r5680 r5837  
    4040    @Override
    4141    protected void handleRequest() throws RequestHandlerErrorException {
    42         if (Main.map == null) //Avoid exception when creating ImageryLayer with null MapFrame
    43         {
    44             throw new RequestHandlerErrorException();
    45         }
    4642        String url = args.get("url");
    4743        String title = args.get("title");
Note: See TracChangeset for help on using the changeset viewer.