Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (4 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/io/auth/JosmPreferencesCredentialAgent.java

    r18991 r19050  
    1111import java.util.Set;
    1212
    13 import jakarta.json.JsonException;
    1413import javax.swing.text.html.HTMLEditorKit;
    1514
     
    2423import org.openstreetmap.josm.spi.preferences.Config;
    2524import org.openstreetmap.josm.tools.Utils;
     25
     26import jakarta.json.JsonException;
    2627
    2728/**
     
    4142        String user;
    4243        String password;
    43         switch(requestorType) {
     44        switch (requestorType) {
    4445        case SERVER:
    4546            if (Objects.equals(OsmApi.getOsmApi().getHost(), host)) {
     
    7374        if (requestorType == null)
    7475            return;
    75         switch(requestorType) {
     76        switch (requestorType) {
    7677        case SERVER:
    7778            if (Objects.equals(OsmApi.getOsmApi().getHost(), host)) {
Note: See TracChangeset for help on using the changeset viewer.