Changes between Initial Version and Version 3 of Ticket #10674
- Timestamp:
- 2014-10-26T23:19:37+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10674
- Property Priority major → normal
-
Ticket #10674 – Description
initial v3 2 2 this is the stack trace: 3 3 4 {{{ 4 5 Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException 5 6 at java.util.LinkedList$ListItr.checkForComodification(Unknown Source) … … 35 36 at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 36 37 at java.awt.EventDispatchThread.run(Unknown Source) 37 38 39 38 }}} 40 39 41 40 Here is the code : 42 41 42 {{{ 43 #!java 43 44 for(int i=0; i < len; i++){ 44 45 hotel = hotelsList.getJSONObject(i); … … 48 49 JMAP.addHotel(lat, lng, name); 49 50 } 51 }}} 50 52 51 53 and this is the addHotel method in JMAP class: 52 54 55 {{{ 56 #!java 53 57 public static void addHotel(double lat, double lng, String name){ 54 58 map.addMapMarker( 55 59 new MapMarkerDot(name, new Coordinate(lat,lng))); 56 60 } 61 }}} 57 62 58 63