Fix bug when application breaks when trying to deserialize Node

This commit is contained in:
GaidamakUA 2015-12-07 10:20:16 +02:00
parent 226dd49b2b
commit ad965a7b03

View file

@ -1,5 +1,9 @@
package net.osmand.osm.edit; package net.osmand.osm.edit;
import net.osmand.data.LatLon;
import net.osmand.osm.edit.OSMSettings.OSMTagKey;
import java.io.Serializable;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.HashSet; import java.util.HashSet;
@ -7,11 +11,8 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import net.osmand.data.LatLon;
import net.osmand.osm.edit.OSMSettings.OSMTagKey;
public abstract class Entity implements Serializable {
public abstract class Entity {
public enum EntityType { public enum EntityType {
NODE, NODE,
WAY, WAY,