Changes between Initial Version and Version 3 of Ticket #10674


Ignore:
Timestamp:
2014-10-26T23:19:37+01:00 (11 years ago)
Author:
Don-vip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10674

    • Property Priority majornormal
  • Ticket #10674 – Description

    initial v3  
    22this is the stack trace:
    33
     4{{{
    45Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException
    56        at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
     
    3536        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    3637        at java.awt.EventDispatchThread.run(Unknown Source)
    37 
    38 
    39 
     38}}}
    4039
    4140Here is the code :
    4241
     42{{{
     43#!java
    4344for(int i=0; i < len; i++){
    4445                        hotel = hotelsList.getJSONObject(i);
     
    4849                        JMAP.addHotel(lat, lng, name);
    4950                        }
     51}}}
    5052
    5153and this is the addHotel method in JMAP class:
    5254
     55{{{
     56#!java
    5357public static void addHotel(double lat, double lng, String name){
    5458map.addMapMarker(
    5559               new MapMarkerDot(name, new Coordinate(lat,lng)));
    5660            }
     61}}}
    5762
    5863