Ignore:
Timestamp:
2016-03-13T21:36:47+01:00 (3 years ago)
Author:
Don-vip
Message:

remove unused code

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

Legend:

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

    r9223 r9983  
    2525 */
    2626public class RelationMemberListTableCellRenderer extends JLabel implements TableCellRenderer {
    27 
    28     public static final Color BGCOLOR_EMPTY_ROW = new Color(234, 234, 234);
    29     public static final Color BGCOLOR_NOT_IN_OPPOSITE = new Color(255, 197, 197);
    30     public static final Color BGCOLOR_IN_OPPOSITE = new Color(255, 234, 213);
    31     public static final Color BGCOLOR_SELECTED = new Color(143, 170, 255);
    3227
    3328    private final transient Map<OsmPrimitiveType, ImageIcon> icons;
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTableColumnModel.java

    r5622 r9983  
    1515public class VersionTableColumnModel extends DefaultTableColumnModel {
    1616
     17    /** Column index for version */
    1718    public static final int COL_VERSION = 0;
     19    /** Column index for reference */
    1820    public static final int COL_REFERENCE = 1;
     21    /** Column index for current */
    1922    public static final int COL_CURRENT = 2;
     23    /** Column index for date */
    2024    public static final int COL_DATE = 3;
     25    /** Column index for user */
    2126    public static final int COL_USER = 4;
    2227
     
    2631
    2732        // column 0 - Version
    28         col = new TableColumn(0);
     33        col = new TableColumn(COL_VERSION);
    2934        /* translation note: 3 letter abbr. for "Version" */
    3035        col.setHeaderValue(tr("Ver"));
     
    3338        addColumn(col);
    3439        // column 1 - Reference
    35         col = new TableColumn(1);
     40        col = new TableColumn(COL_REFERENCE);
    3641        col.setHeaderValue(tr("A"));
    3742        col.setCellRenderer(bRenderer);
     
    4045        addColumn(col);
    4146        // column 2 - Current
    42         col = new TableColumn(2);
     47        col = new TableColumn(COL_CURRENT);
    4348        col.setHeaderValue(tr("B"));
    4449        col.setCellRenderer(bRenderer);
     
    4752        addColumn(col);
    4853        // column 3 - Date
    49         col = new TableColumn(3);
     54        col = new TableColumn(COL_DATE);
    5055        col.setHeaderValue(tr("Date"));
    5156        col.setResizable(false);
    5257        addColumn(col);
    5358        // column 4 - User
    54         col = new TableColumn(4);
     59        col = new TableColumn(COL_USER);
    5560        col.setHeaderValue(tr("User"));
    5661        col.setResizable(false);
Note: See TracChangeset for help on using the changeset viewer.