Ignore:
Timestamp:
2016-06-01T23:17:40+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1854 - Dead stores should be removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTableColumnModel.java

    r9983 r10308  
    1111/**
    1212 * The {@link TableColumnModel} for the table with the list of versions
    13  *
     13 * @since 1709
    1414 */
    1515public class VersionTableColumnModel extends DefaultTableColumnModel {
     
    2626    public static final int COL_USER = 4;
    2727
     28    /**
     29     * Creates a new {@code VersionTableColumnModel}.
     30     */
     31    public VersionTableColumnModel() {
     32        createColumns();
     33    }
     34
    2835    protected void createColumns() {
    29         TableColumn col = null;
    3036        VersionTable.RadioButtonRenderer bRenderer = new VersionTable.RadioButtonRenderer();
    3137
    3238        // column 0 - Version
    33         col = new TableColumn(COL_VERSION);
     39        TableColumn col = new TableColumn(COL_VERSION);
    3440        /* translation note: 3 letter abbr. for "Version" */
    3541        col.setHeaderValue(tr("Ver"));
     
    6268        addColumn(col);
    6369    }
    64 
    65     /**
    66      * Creates a new {@code VersionTableColumnModel}.
    67      */
    68     public VersionTableColumnModel() {
    69         createColumns();
    70     }
    7170}
Note: See TracChangeset for help on using the changeset viewer.