- Timestamp:
- 2024-10-08T14:39:56+02:00 (6 weeks ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r19008 r19235 10 10 import java.util.Map; 11 11 12 import jakarta.json.stream.JsonParsingException; 12 13 import org.openstreetmap.josm.io.NetworkManager; 13 14 import org.openstreetmap.josm.io.OsmApi; … … 95 96 } 96 97 } 97 } catch ( URISyntaxException | IOException e) {98 } catch (JsonParsingException | URISyntaxException | IOException e) { 98 99 throw new JosmRuntimeException(e); 99 100 } finally { … … 158 159 } 159 160 } catch (JosmRuntimeException e) { 160 if (e.getCause() instanceof URISyntaxException || e.getCause() instanceof IOException) { 161 if (e.getCause() instanceof URISyntaxException || e.getCause() instanceof IOException 162 || e.getCause() instanceof JsonParsingException) { 161 163 Logging.trace(e); 162 164 } else { -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r19050 r19235 176 176 JMultilineLabel lbl = new JMultilineLabel(AuthorizationProcedure.FULLY_AUTOMATIC.getDescription()); 177 177 lbl.setFont(lbl.getFont().deriveFont(Font.PLAIN)); 178 pnl.add(lbl, GBC. std());178 pnl.add(lbl, GBC.eol()); 179 179 180 180 if (!Config.getUrls().getDefaultOsmApiUrl().equals(apiUrl)) {
Note:
See TracChangeset
for help on using the changeset viewer.