Changeset 8338 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2015-05-07T01:27:41+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r8308 r8338 684 684 private Map<Double, List<Node>> getNearestNodesImpl(Point p, 685 685 Predicate<OsmPrimitive> predicate) { 686 TreeMap<Double, List<Node>> nearestMap = new TreeMap<>();686 Map<Double, List<Node>> nearestMap = new TreeMap<>(); 687 687 DataSet ds = getCurrentDataSet(); 688 688 -
trunk/src/org/openstreetmap/josm/gui/actionsupport/DeleteFromRelationConfirmationDialog.java
r8308 r8338 229 229 230 230 public Set<OsmPrimitive> getObjectsToDelete() { 231 HashSet<OsmPrimitive> ret = new HashSet<>();231 Set<OsmPrimitive> ret = new HashSet<>(); 232 232 for (RelationToChildReference ref: data) { 233 233 ret.add(ref.getChild()); … … 241 241 242 242 public Set<OsmPrimitive> getParentRelations() { 243 HashSet<OsmPrimitive> ret = new HashSet<>();243 Set<OsmPrimitive> ret = new HashSet<>(); 244 244 for (RelationToChildReference ref: data) { 245 245 ret.add(ref.getParent()); -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java
r8308 r8338 731 731 private final transient List<T> entries; 732 732 733 public EntriesSelectionModel( ArrayList<T> nodes) {733 public EntriesSelectionModel(List<T> nodes) { 734 734 this.entries = nodes; 735 735 } -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r8308 r8338 253 253 254 254 protected List<Command> buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc) { 255 Li nkedList<Command> cmds = new LinkedList<>();255 List<Command> cmds = new LinkedList<>(); 256 256 for (String key : tc.getKeys()) { 257 257 if (tc.hasUniqueEmptyValue(key)) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java
r8308 r8338 287 287 288 288 protected Map<User, Integer> computeStatistics(Collection<? extends OsmPrimitive> primitives) { 289 HashMap<User, Integer> ret = new HashMap<>();289 Map<User, Integer> ret = new HashMap<>(); 290 290 if (primitives == null || primitives.isEmpty()) return ret; 291 291 for (OsmPrimitive primitive: primitives) { … … 354 354 355 355 public List<User> getSelectedUsers(int[] rows) { 356 Li nkedList<User> ret = new LinkedList<>();356 List<User> ret = new LinkedList<>(); 357 357 if (rows == null || rows.length == 0) return ret; 358 358 for (int row: rows) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r8308 r8338 190 190 Set<DefaultMutableTreeNode> processedNodes = new HashSet<>(); 191 191 192 Li nkedList<TestError> errorsToFix = new LinkedList<>();192 List<TestError> errorsToFix = new LinkedList<>(); 193 193 for (TreePath path : selectionPaths) { 194 194 DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); … … 548 548 tree.setFilter(null); 549 549 } 550 HashSet<OsmPrimitive> filter = new HashSet<>(newSelection); 551 tree.setFilter(filter); 550 tree.setFilter(new HashSet<>(newSelection)); 552 551 } 553 552 -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetHeaderDownloadTask.java
r8291 r8338 65 65 } 66 66 67 HashSet<Integer> ids = new HashSet<>();67 Set<Integer> ids = new HashSet<>(); 68 68 for (Changeset cs: changesets) { 69 69 if (cs == null || cs.isNew()) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r8308 r8338 608 608 final Map<String, String> tags = new HashMap<>(); 609 609 valueCount.clear(); 610 EnumSet<TaggingPresetType> types = EnumSet.noneOf(TaggingPresetType.class);610 Set<TaggingPresetType> types = EnumSet.noneOf(TaggingPresetType.class); 611 611 for (OsmPrimitive osm : newSel) { 612 612 types.add(TaggingPresetType.forPrimitive(osm)); … … 619 619 v.put(value, v.containsKey(value) ? v.get(value) + 1 : 1); 620 620 } else { 621 TreeMap<String, Integer> v = new TreeMap<>();621 Map<String, Integer> v = new TreeMap<>(); 622 622 v.put(value, 1); 623 623 valueCount.put(key, v); … … 753 753 int row = tagTable.getSelectedRow(); 754 754 if (row == -1) return null; 755 TreeMap<String, Integer> map = (TreeMap<String, Integer>) tagData.getValueAt(row, 1);755 Map<String, Integer> map = (TreeMap<String, Integer>) tagData.getValueAt(row, 1); 756 756 return new Tag( 757 757 tagData.getValueAt(row, 0).toString(), … … 905 905 protected void deleteTags(int[] rows){ 906 906 // convert list of rows to HashMap (and find gap for nextKey) 907 HashMap<String, String> tags = new HashMap<>(rows.length);907 Map<String, String> tags = new HashMap<>(rows.length); 908 908 int nextKeyIndex = rows[0]; 909 909 for (int row : rows) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java
r8308 r8338 258 258 if (selection == null || selection.length == 0) 259 259 return; 260 HashSet<Relation> relations = new HashSet<>();260 Set<Relation> relations = new HashSet<>(); 261 261 for (TreePath aSelection : selection) { 262 262 relations.add((Relation) aSelection.getLastPathComponent()); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r8318 r8338 514 514 */ 515 515 public Set<OsmPrimitive> getChildPrimitives(Collection<? extends OsmPrimitive> referenceSet) { 516 HashSet<OsmPrimitive> ret = new HashSet<>();516 Set<OsmPrimitive> ret = new HashSet<>(); 517 517 if (referenceSet == null) return null; 518 518 for (RelationMember m: members) { … … 606 606 if (primitives == null || primitives.isEmpty()) 607 607 return false; 608 HashSet<OsmPrimitive> referrers = new HashSet<>();608 Set<OsmPrimitive> referrers = new HashSet<>(); 609 609 for (RelationMember member : members) { 610 610 referrers.add(member.getMember()); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationNodeMap.java
r8285 r8338 233 233 private Integer popBackwardOnewayPart(int way){ 234 234 if (lastOnewayNode != null) { 235 TreeSet<Node> nodes = new TreeSet<>();235 Set<Node> nodes = new TreeSet<>(); 236 236 if (onewayReverseMap.ways.containsKey(way)) { 237 237 nodes.addAll(onewayReverseMap.ways.get(way)); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSorter.java
r8259 r8338 175 175 } 176 176 177 for (Li nkedList<Integer> tmpGroup : allGroups) {177 for (List<Integer> tmpGroup : allGroups) { 178 178 for (Integer p : tmpGroup) { 179 179 newMembers.add(defaultMembers.get(p)); -
trunk/src/org/openstreetmap/josm/gui/download/BookmarkList.java
r8291 r8338 158 158 Collection<Collection<String>> args = Main.pref.getArray("bookmarks", null); 159 159 if(args != null) { 160 Li nkedList<Bookmark> bookmarks = new LinkedList<>();160 List<Bookmark> bookmarks = new LinkedList<>(); 161 161 for(Collection<String> entry : args) { 162 162 try { … … 178 178 */ 179 179 public final void save() { 180 Li nkedList<Collection<String>> coll = new LinkedList<>();180 List<Collection<String>> coll = new LinkedList<>(); 181 181 for (Object o : ((DefaultListModel<Bookmark>)getModel()).toArray()) { 182 182 String[] array = new String[5]; -
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r8308 r8338 10 10 import java.util.List; 11 11 import java.util.Observable; 12 import java.util.Set; 12 13 13 14 import javax.swing.JTable; … … 535 536 536 537 protected void initKeyList() { 537 HashSet<String> keySet = new HashSet<>();538 Set<String> keySet = new HashSet<>(); 538 539 if (current != null) { 539 540 keySet.addAll(current.getTags().keySet()); -
trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
r8221 r8338 190 190 return null; 191 191 } 192 ArrayList<PrimitiveId> downloaded = new ArrayList<>(ids);192 List<PrimitiveId> downloaded = new ArrayList<>(ids); 193 193 downloaded.removeAll(mainTask.getMissingPrimitives()); 194 194 return downloaded; -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r8332 r8338 27 27 import java.util.List; 28 28 import java.util.Map; 29 import java.util.Set; 29 30 import java.util.concurrent.Callable; 30 31 import java.util.concurrent.CopyOnWriteArrayList; … … 548 549 GpxData gpxData = new GpxData(); 549 550 gpxData.storageFile = file; 550 HashSet<Node> doneNodes = new HashSet<>();551 Set<Node> doneNodes = new HashSet<>(); 551 552 waysToGpxData(data.getWays(), gpxData, doneNodes); 552 553 nodesToGpxData(data.getNodes(), gpxData, doneNodes); … … 554 555 } 555 556 556 private static void waysToGpxData(Collection<Way> ways, GpxData gpxData, HashSet<Node> doneNodes) {557 private static void waysToGpxData(Collection<Way> ways, GpxData gpxData, Set<Node> doneNodes) { 557 558 for (Way w : ways) { 558 559 if (!w.isUsable()) { … … 632 633 } 633 634 634 private static void nodesToGpxData(Collection<Node> nodes, GpxData gpxData, HashSet<Node> doneNodes) {635 private static void nodesToGpxData(Collection<Node> nodes, GpxData gpxData, Set<Node> doneNodes) { 635 636 List<Node> sortedNodes = new ArrayList<>(nodes); 636 637 sortedNodes.removeAll(doneNodes); … … 645 646 646 647 private static void addIntegerIfPresent(WayPoint wpt, OsmPrimitive p, String gpxKey, String ... osmKeys) { 647 ArrayList<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys));648 List<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys)); 648 649 possibleKeys.add(0, gpxKey); 649 650 for (String key : possibleKeys) { … … 668 669 669 670 private static void addDoubleIfPresent(WayPoint wpt, OsmPrimitive p, String gpxKey, String ... osmKeys) { 670 ArrayList<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys));671 List<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys)); 671 672 possibleKeys.add(0, gpxKey); 672 673 for (String key : possibleKeys) { … … 690 691 691 692 private static void addStringIfPresent(WayPoint wpt, OsmPrimitive p, String gpxKey, String ... osmKeys) { 692 ArrayList<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys));693 List<String> possibleKeys = new ArrayList<>(Arrays.asList(osmKeys)); 693 694 possibleKeys.add(0, gpxKey); 694 695 for (String key : possibleKeys) { -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportImagesAction.java
r8308 r8338 59 59 File[] sel = fc.getSelectedFiles(); 60 60 if (sel != null && sel.length > 0) { 61 Li nkedList<File> files = new LinkedList<>();61 List<File> files = new LinkedList<>(); 62 62 addRecursiveFiles(files, sel); 63 63 importer.importDataHandleExceptions(files, NullProgressMonitor.INSTANCE); -
trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
r8332 r8338 196 196 public Cascade clone() { 197 197 @SuppressWarnings("unchecked") 198 HashMap<String, Object> clonedProp = (HashMap<String, Object>) ((HashMap) this.prop).clone();198 Map<String, Object> clonedProp = (Map<String, Object>) ((HashMap) this.prop).clone(); 199 199 Cascade c = new Cascade(); 200 200 c.prop = clonedProp; -
trunk/src/org/openstreetmap/josm/gui/mappaint/LabelCompositionStrategy.java
r7005 r8338 188 188 nameTags = Collections.emptyList(); 189 189 } 190 ArrayList<String> result = new ArrayList<>();190 List<String> result = new ArrayList<>(); 191 191 for(String tag: nameTags) { 192 192 if (tag == null) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
r8297 r8338 146 146 } 147 147 148 public static final EnumSet<Op> COMPARISON_OPERATERS =149 EnumSet.of(Op.GREATER_OR_EQUAL, Op.GREATER, Op.LESS_OR_EQUAL, Op.LESS);150 151 148 /** 152 149 * Most common case of a KeyValueCondition. … … 223 220 224 221 public final Pattern pattern; 225 public static final EnumSet<Op> SUPPORTED_OPS = EnumSet.of(Op.REGEX, Op.NREGEX);222 public static final Set<Op> SUPPORTED_OPS = EnumSet.of(Op.REGEX, Op.NREGEX); 226 223 227 224 public KeyValueRegexpCondition(String k, String v, Op op, boolean considerValAsKey) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r8318 r8338 185 185 * primitive. This includes all key=* rules. 186 186 */ 187 HashMap<String, BitSet> specialRules = new HashMap<>();187 Map<String, BitSet> specialRules = new HashMap<>(); 188 188 189 189 public void addForKey(int ruleIndex) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
r7596 r8338 186 186 private void get(OsmPrimitive primitive, boolean closed, WayPrototypesRecord p, Double scale, MultiCascade mc) { 187 187 String lineIdx = null; 188 HashMap<String, LinemodPrototype> overlayMap = new HashMap<>();188 Map<String, LinemodPrototype> overlayMap = new HashMap<>(); 189 189 boolean isNotArea = primitive.isKeyFalse("area"); 190 190 for (String key : primitive.keySet()) { -
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r8308 r8338 1071 1071 */ 1072 1072 public void addCustomButton(String definitionText, int preferredIndex, boolean removeIfExists) { 1073 Li nkedList<String> t = new LinkedList<>(getToolString());1073 List<String> t = new LinkedList<>(getToolString()); 1074 1074 if (t.contains(definitionText)) { 1075 1075 if (!removeIfExists) return; // do nothing -
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
r8018 r8338 286 286 pnlPluginUpdatePolicy.rememberInPreferences(); 287 287 if (model.isActivePluginsChanged()) { 288 Li nkedList<String> l = new LinkedList<>(model.getSelectedPluginNames());288 List<String> l = new LinkedList<>(model.getSelectedPluginNames()); 289 289 Collections.sort(l); 290 290 Main.pref.putCollection("plugins", l); -
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r8308 r8338 310 310 if (tags == null) 311 311 return; 312 ArrayList<TagModel> toDelete = new ArrayList<>();312 List<TagModel> toDelete = new ArrayList<>(); 313 313 for (int tagIdx : tagIndices) { 314 314 TagModel tag = tags.get(tagIdx); … … 488 488 489 489 List<String> currentkeys = getKeys(); 490 ArrayList<Command> commands = new ArrayList<>();490 List<Command> commands = new ArrayList<>(); 491 491 492 492 for (OsmPrimitive primitive : primitives) { … … 512 512 */ 513 513 public List<String> getKeys() { 514 ArrayList<String> keys = new ArrayList<>();514 List<String> keys = new ArrayList<>(); 515 515 for (TagModel tag: tags) { 516 516 if (!tag.getName().trim().isEmpty()) { -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r8318 r8338 20 20 import java.util.List; 21 21 import java.util.Map; 22 import java.util.Set; 22 23 23 24 import javax.swing.AbstractAction; … … 85 86 * The types as preparsed collection. 86 87 */ 87 public EnumSet<TaggingPresetType> types;88 public Set<TaggingPresetType> types; 88 89 public transient List<TaggingPresetItem> data = new LinkedList<>(); 89 90 public transient Roles roles; … … 502 503 super("", ImageProvider.get("dialogs", "pin")); 503 504 putValue(SHORT_DESCRIPTION, tr("Add or remove toolbar button")); 504 Li nkedList<String> t = new LinkedList<>(ToolbarPreferences.getToolString());505 List<String> t = new LinkedList<>(ToolbarPreferences.getToolString()); 505 506 toolbarIndex = t.indexOf(getToolbarString()); 506 507 putValue(SELECTED_KEY, toolbarIndex >= 0); -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
r8332 r8338 30 30 import java.util.Map; 31 31 import java.util.Map.Entry; 32 import java.util.Set; 33 import java.util.SortedSet; 32 34 import java.util.TreeSet; 33 35 … … 81 83 82 84 // cache the parsing of types using a LRU cache (http://java-planet.blogspot.com/2005/08/how-to-set-up-simple-lru-cache-using.html) 83 private static final Map<String, EnumSet<TaggingPresetType>> TYPE_CACHE = new LinkedHashMap<>(16, 1.1f, true);85 private static final Map<String,Set<TaggingPresetType>> TYPE_CACHE = new LinkedHashMap<>(16, 1.1f, true); 84 86 85 87 /** … … 167 169 168 170 public static class Role { 169 public EnumSet<TaggingPresetType> types;171 public Set<TaggingPresetType> types; 170 172 public String key; 171 173 /** The text to display */ … … 290 292 291 293 public static class Usage { 292 private TreeSet<String> values;294 private SortedSet<String> values; 293 295 private boolean hadKeys = false; 294 296 private boolean hadEmpty = false; … … 1396 1398 } else { 1397 1399 String s = o.toString(); 1398 TreeSet<String> parts = new TreeSet<>(Arrays.asList(s.split(delimiter)));1400 Set<String> parts = new TreeSet<>(Arrays.asList(s.split(delimiter))); 1399 1401 ListModel<PresetListEntry> lm = getModel(); 1400 1402 int[] intParts = new int[lm.getSize()]; … … 1429 1431 } 1430 1432 1431 public static EnumSet<TaggingPresetType> getType(String types) throws SAXException {1433 public static Set<TaggingPresetType> getType(String types) throws SAXException { 1432 1434 if (TYPE_CACHE.containsKey(types)) 1433 1435 return TYPE_CACHE.get(types); 1434 EnumSet<TaggingPresetType> result = EnumSet.noneOf(TaggingPresetType.class);1436 Set<TaggingPresetType> result = EnumSet.noneOf(TaggingPresetType.class); 1435 1437 for (String type : Arrays.asList(types.split(","))) { 1436 1438 try { -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java
r8126 r8338 287 287 */ 288 288 public static Collection<TaggingPreset> readAll(Collection<String> sources, boolean validate, boolean displayErrMsg) { 289 Li nkedList<TaggingPreset> allPresets = new LinkedList<>();289 List<TaggingPreset> allPresets = new LinkedList<>(); 290 290 for(String source : sources) { 291 291 try { -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchPrimitiveDialog.java
r8126 r8338 7 7 import java.awt.event.KeyEvent; 8 8 import java.util.HashSet; 9 import java.util.Set; 9 10 10 11 import org.openstreetmap.josm.Main; … … 62 63 TaggingPreset preset = selector.getSelectedPreset(); 63 64 if (preset != null) { 64 final HashSet<OsmPrimitive> matching = new HashSet<>(Utils.filter(Main.main.getCurrentDataSet().allPrimitives(), preset));65 final Set<OsmPrimitive> matching = new HashSet<>(Utils.filter(Main.main.getCurrentDataSet().allPrimitives(), preset)); 65 66 Main.main.getCurrentDataSet().setSelected(matching); 66 67 } -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSelector.java
r8308 r8338 23 23 import java.util.List; 24 24 import java.util.Objects; 25 import java.util.Set; 25 26 26 27 import javax.swing.AbstractAction; … … 74 75 private final JCheckBox ckOnlyApplicable; 75 76 private final JCheckBox ckSearchInTags; 76 private final EnumSet<TaggingPresetType> typesInSelection = EnumSet.noneOf(TaggingPresetType.class);77 private final Set<TaggingPresetType> typesInSelection = EnumSet.noneOf(TaggingPresetType.class); 77 78 private boolean typesInSelectionDirty = true; 78 79 private final transient PresetClassifications classifications = new PresetClassifications(); … … 356 357 private final List<PresetClassification> classifications = new ArrayList<>(); 357 358 358 public List<PresetClassification> getMatchingPresets(String searchText, boolean onlyApplicable, boolean inTags, EnumSet<TaggingPresetType> presetTypes, final Collection<? extends OsmPrimitive> selectedPrimitives) { 359 public List<PresetClassification> getMatchingPresets(String searchText, boolean onlyApplicable, boolean inTags, 360 Set<TaggingPresetType> presetTypes, final Collection<? extends OsmPrimitive> selectedPrimitives) { 359 361 final String[] groupWords; 360 362 final String[] nameWords; … … 371 373 } 372 374 373 public List<PresetClassification> getMatchingPresets(String[] groupWords, String[] nameWords, boolean onlyApplicable, boolean inTags, EnumSet<TaggingPresetType> presetTypes, final Collection<? extends OsmPrimitive> selectedPrimitives) { 375 public List<PresetClassification> getMatchingPresets(String[] groupWords, String[] nameWords, boolean onlyApplicable, 376 boolean inTags, Set<TaggingPresetType> presetTypes, final Collection<? extends OsmPrimitive> selectedPrimitives) { 374 377 375 378 final List<PresetClassification> result = new ArrayList<>(); … … 451 454 } 452 455 453 private EnumSet<TaggingPresetType> getTypesInSelection() {456 private Set<TaggingPresetType> getTypesInSelection() { 454 457 if (typesInSelectionDirty) { 455 458 synchronized (typesInSelection) { -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresets.java
r7937 r8338 5 5 import java.util.Collection; 6 6 import java.util.HashMap; 7 import java.util.Map; 7 8 8 9 import javax.swing.JMenu; … … 51 52 } else { 52 53 AutoCompletionManager.cachePresets(taggingPresets); 53 HashMap<TaggingPresetMenu,JMenu> submenus = new HashMap<>();54 Map<TaggingPresetMenu,JMenu> submenus = new HashMap<>(); 54 55 for (final TaggingPreset p : taggingPresets) { 55 56 JMenu m = p.group != null ? submenus.get(p.group) : Main.main.menu.presetsMenu; -
trunk/src/org/openstreetmap/josm/gui/util/AdvancedKeyPressDetector.java
r8072 r8338 13 13 import java.awt.event.KeyEvent; 14 14 import java.util.ArrayList; 15 import java.util.List; 15 16 import java.util.Set; 16 17 import java.util.TreeSet; … … 35 36 private Timer timer; 36 37 37 private final ArrayList<KeyPressReleaseListener> keyListeners = new ArrayList<>();38 private final ArrayList<ModifierListener> modifierListeners = new ArrayList<>();38 private final List<KeyPressReleaseListener> keyListeners = new ArrayList<>(); 39 private final List<ModifierListener> modifierListeners = new ArrayList<>(); 39 40 private int previousModifiers; 40 41
Note:
See TracChangeset
for help on using the changeset viewer.