Ignore:
Timestamp:
2010-01-15T10:44:16+01:00 (14 years ago)
Author:
Gubaer
Message:

fixed #4375: authorise -> authorize

File:
1 moved

Legend:

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

    r2858 r2861  
    1313import javax.swing.UIManager;
    1414
    15 public class AuthorisationProcedureComboBox extends JComboBox {
     15public class AuthorizationProcedureComboBox extends JComboBox {
    1616
    17     public AuthorisationProcedureComboBox() {
     17    public AuthorizationProcedureComboBox() {
    1818        setModel(new AuthorisationProcedureComboBoxModel());
    1919        setRenderer(new AuthorisationProcedureCellRenderer());
    20         setSelectedItem(AuthorisationProcedure.FULLY_AUTOMATIC);
     20        setSelectedItem(AuthorizationProcedure.FULLY_AUTOMATIC);
    2121    }
    2222
     
    2525        public Object getElementAt(int index) {
    2626            switch(index) {
    27             case 0: return AuthorisationProcedure.FULLY_AUTOMATIC;
    28             case 1: return AuthorisationProcedure.SEMI_AUTOMATIC;
    29             case 2: return AuthorisationProcedure.MANUALLY;
     27            case 0: return AuthorizationProcedure.FULLY_AUTOMATIC;
     28            case 1: return AuthorizationProcedure.SEMI_AUTOMATIC;
     29            case 2: return AuthorizationProcedure.MANUALLY;
    3030            }
    3131            return null;
     
    5353        }
    5454
    55         protected void renderText(AuthorisationProcedure value) {
     55        protected void renderText(AuthorizationProcedure value) {
    5656            switch(value) {
    5757            case FULLY_AUTOMATIC:
     
    6767        }
    6868
    69         protected void renderToolTipText(AuthorisationProcedure value) {
     69        protected void renderToolTipText(AuthorizationProcedure value) {
    7070            switch(value) {
    7171            case FULLY_AUTOMATIC:
     
    9494
    9595        public Component getListCellRendererComponent(JList list, Object value, int idx, boolean isSelected, boolean hasFocus) {
    96             AuthorisationProcedure procedure = (AuthorisationProcedure)value;
     96            AuthorizationProcedure procedure = (AuthorizationProcedure)value;
    9797            renderColors(isSelected);
    9898            renderText(procedure);
Note: See TracChangeset for help on using the changeset viewer.