Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (6 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/oauth/OAuthAuthorizationWizard.java

    r19008 r19050  
    99import java.awt.FlowLayout;
    1010import java.awt.Font;
     11import java.awt.GridBagConstraints;
    1112import java.awt.GridBagLayout;
    1213import java.awt.event.ActionEvent;
     
    170171        );
    171172        pnlMessage.enableClickableHyperlinks();
    172         pnl.add(pnlMessage, GBC.eol().fill(GBC.HORIZONTAL));
     173        pnl.add(pnlMessage, GBC.eol().fill(GridBagConstraints.HORIZONTAL));
    173174
    174175        // the authorisation procedure
     
    201202     */
    202203    protected void refreshAuthorisationProcedurePanel() {
    203         switch(procedure) {
     204        switch (procedure) {
    204205        case FULLY_AUTOMATIC:
    205206            spAuthorisationProcedureUI.getViewport().setView(pnlFullyAutomaticAuthorisationUI);
     
    290291
    291292    protected AbstractAuthorizationUI getCurrentAuthorisationUI() {
    292         switch(procedure) {
     293        switch (procedure) {
    293294        case FULLY_AUTOMATIC: return pnlFullyAutomaticAuthorisationUI;
    294295        case MANUALLY: return pnlManualAuthorisationUI;
Note: See TracChangeset for help on using the changeset viewer.