Ignore:
Timestamp:
2014-04-26T03:53:35+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - switch core to Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/AuthorizationProcedureComboBox.java

    r6883 r7001  
    2424    }
    2525
    26     private static class AuthorisationProcedureCellRenderer extends JLabel implements ListCellRenderer {
     26    private static class AuthorisationProcedureCellRenderer extends JLabel implements ListCellRenderer<AuthorizationProcedure> {
    2727        public AuthorisationProcedureCellRenderer() {
    2828            setOpaque(true);
     
    8080
    8181        @Override
    82         public Component getListCellRendererComponent(JList list, Object value, int idx, boolean isSelected, boolean hasFocus) {
    83             AuthorizationProcedure procedure = (AuthorizationProcedure)value;
     82        public Component getListCellRendererComponent(JList<? extends AuthorizationProcedure> list, AuthorizationProcedure procedure,
     83                int idx, boolean isSelected, boolean hasFocus) {
    8484            renderColors(isSelected);
    8585            renderText(procedure);
Note: See TracChangeset for help on using the changeset viewer.