Ignore:
Timestamp:
2020-05-17T15:57:50+02:00 (4 years ago)
Author:
simon04
Message:

see #19251 - Checkstyle, PMD

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java

    r16436 r16441  
    285285        tblChangesets.setTransferHandler(new TransferHandler() {
    286286            @Override
    287             public void exportToClipboard(JComponent comp, Clipboard clip, int action) throws IllegalStateException {
     287            public void exportToClipboard(JComponent comp, Clipboard clip, int action) {
    288288                List<Changeset> changesets = model.getSelectedChangesets();
    289289                ChangesetTransferable transferable = new ChangesetTransferable(changesets);
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r16438 r16441  
    411411            protected int checkTableSelection(JTable table, Point p) {
    412412                int row = super.checkTableSelection(table, p);
    413                 List<IRelation<?>> rels = Arrays.stream(table.getSelectedRows()).mapToObj(i -> (IRelation<?>) table.getValueAt(i, 0)).collect(Collectors.toList());
     413                List<IRelation<?>> rels = Arrays.stream(table.getSelectedRows())
     414                        .mapToObj(i -> (IRelation<?>) table.getValueAt(i, 0))
     415                        .collect(Collectors.toList());
    414416                membershipMenuHandler.setPrimitives(rels);
    415417                return row;
Note: See TracChangeset for help on using the changeset viewer.