Ticket #3116: show-error.patch
File show-error.patch, 806 bytes (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/gui/dialogs/relation/RelationEditor.java
65 65 * @return an instance of RelationEditor suitable for editing that kind of relation 66 66 */ 67 67 public static RelationEditor getEditor(OsmDataLayer layer, Relation r, Collection<RelationMember> selectedMembers) { 68 if (layer == null) { 69 throw new NullPointerException("layer is null"); 70 } 68 71 for (Class<RelationEditor> e : editors) { 69 72 try { 70 73 Method m = e.getMethod("canEdit", Relation.class);