Changeset 30737 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/FindRelationAction.java
- Timestamp:
- 2014-10-18T23:07:52+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/FindRelationAction.java
r30532 r30737 123 123 String[] keywords = filter == null ? new String[0] : filter.split("\\s+"); 124 124 if( keywords.length > 0 ) { 125 List<String> filteredKeywords = new ArrayList< String>(keywords.length);125 List<String> filteredKeywords = new ArrayList<>(keywords.length); 126 126 for( String s : keywords ) 127 127 if( s.length() > 0 ) … … 134 134 System.out.println("keyword["+i+"] = " + keywords[i]); 135 135 136 List<Relation> relations = new ArrayList< Relation>();136 List<Relation> relations = new ArrayList<>(); 137 137 if( getEditLayer() != null ) { 138 138 for( Relation r : getEditLayer().data.getRelations() ) { … … 168 168 */ 169 169 protected class FindRelationListModel extends AbstractListModel<Relation> { 170 private final ArrayList<Relation> relations = new ArrayList< Relation>();170 private final ArrayList<Relation> relations = new ArrayList<>(); 171 171 private DefaultListSelectionModel selectionModel; 172 172
Note:
See TracChangeset
for help on using the changeset viewer.
