Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (4 weeks ago)
Author:
taylor.smock
Message:

Revert most var changes from r19048, fix most new compile warnings and checkstyle issues

Also, document why various ErrorProne checks were originally disabled and fix
generic SonarLint issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/CodeSelectionPanel.java

    r17768 r19050  
    55
    66import java.awt.Dimension;
     7import java.awt.GridBagConstraints;
    78import java.awt.GridBagLayout;
    89import java.awt.event.ActionListener;
     
    6061     * List model for the filtered view on the list of all codes.
    6162     */
    62     private class ProjectionCodeModel extends AbstractTableModel {
     63    private final class ProjectionCodeModel extends AbstractTableModel {
    6364        @Override
    6465        public int getRowCount() {
     
    105106
    106107        this.setLayout(new GridBagLayout());
    107         this.add(filter, GBC.eol().fill(GBC.HORIZONTAL).weight(1.0, 0.0));
    108         this.add(scroll, GBC.eol().fill(GBC.HORIZONTAL));
     108        this.add(filter, GBC.eol().fill(GridBagConstraints.HORIZONTAL).weight(1.0, 0.0));
     109        this.add(scroll, GBC.eol().fill(GridBagConstraints.HORIZONTAL));
    109110    }
    110111
Note: See TracChangeset for help on using the changeset viewer.