Changeset 29854 in osm for applications/editors/josm/plugins/geochat
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/geochat
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geochat/build.xml
r29588 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="geochat" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="[josm_geochat] copypaste from keyboard, font size advanced parameters"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value=" 4666"/>7 <property name="plugin.main.version" value="6162"/> 20 8 21 9 <property name="plugin.author" value="Ilya Zverev"/> -
applications/editors/josm/plugins/geochat/src/geochat/ChatMessage.java
r29584 r29854 10 10 * @author zverik 11 11 */ 12 public class ChatMessage implements Comparable {12 public class ChatMessage implements Comparable<ChatMessage> { 13 13 private LatLon pos; 14 14 private Date time; … … 96 96 } 97 97 98 public int compareTo( Objecto) {99 long otherId = ((ChatMessage)o).id;98 public int compareTo(ChatMessage o) { 99 long otherId = o.id; 100 100 return otherId < id ? 1 : otherId == id ? 0 : 1; 101 101 } -
applications/editors/josm/plugins/geochat/src/geochat/ChatServerConnection.java
r29851 r29854 1 1 // License: WTFPL 2 2 package geochat; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.io.IOException; 5 7 import java.io.UnsupportedEncodingException; 6 8 import java.net.URLEncoder; 7 import java.util.*; 8 import java.util.logging.*; 9 import java.util.ArrayList; 10 import java.util.Date; 11 import java.util.HashMap; 12 import java.util.HashSet; 13 import java.util.List; 14 import java.util.Map; 15 import java.util.Set; 16 9 17 import org.json.JSONArray; 10 18 import org.json.JSONException; … … 15 23 import org.openstreetmap.josm.data.projection.Projection; 16 24 import org.openstreetmap.josm.gui.MapView; 17 import static org.openstreetmap.josm.tools.I18n.tr;18 25 19 26 /**
Note:
See TracChangeset
for help on using the changeset viewer.