Changeset 13959 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java
- Timestamp:
- 2018-06-19T19:44:45+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java
r13849 r13959 20 20 import javax.swing.KeyStroke; 21 21 22 import org.openstreetmap.josm.data.osm. Relation;22 import org.openstreetmap.josm.data.osm.IRelation; 23 23 import org.openstreetmap.josm.gui.MainApplication; 24 24 import org.openstreetmap.josm.spi.preferences.Config; … … 40 40 41 41 private final JTable membershipTable; 42 private final IntFunction< Relation> memberValueSupplier;42 private final IntFunction<IRelation<?>> memberValueSupplier; 43 43 44 44 /** … … 49 49 * @param membershipTable The membership table. Can be null 50 50 * @param memberValueSupplier Finds the parent relation from given row of membership table. Can be null 51 * @since 13959 (signature) 51 52 */ 52 53 public HelpAction(JTable tagTable, IntFunction<String> tagKeySupplier, IntFunction<Map<String, Integer>> tagValuesSupplier, 53 JTable membershipTable, IntFunction< Relation> memberValueSupplier) {54 JTable membershipTable, IntFunction<IRelation<?>> memberValueSupplier) { 54 55 this.tagTable = Objects.requireNonNull(tagTable); 55 56 this.tagKeySupplier = Objects.requireNonNull(tagKeySupplier); … … 128 129 * @throws URISyntaxException in case of internal error 129 130 * @since 13522 130 */ 131 public static List<URI> getRelationURIs(String base, String lang, Relation rel) throws URISyntaxException { 131 * @since 13959 (signature) 132 */ 133 public static List<URI> getRelationURIs(String base, String lang, IRelation<?> rel) throws URISyntaxException { 132 134 List<URI> uris = new ArrayList<>(); 133 135 String type = rel.get("type");
Note:
See TracChangeset
for help on using the changeset viewer.