Changeset 19631 in josm for trunk/src


Ignore:
Timestamp:
2026-10-01T18:45:01+02:00 (2 days ago)
Author:
gaben
Message:

see #24635 - re-enable SimplifiedTernary rule and fix the warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxExtension.java

    r19295 r19631  
    190190    public void hide() {
    191191        visible = false;
    192         if (parent != null && parent instanceof GpxExtension) {
     192        if (parent instanceof GpxExtension) {
    193193            GpxExtension gpx = (GpxExtension) parent;
    194194            if (Utils.isStripEmpty(gpx.getValue())
    … …  
    206206    public void show() {
    207207        visible = true;
    208         if (parent != null && parent instanceof GpxExtension) {
     208        if (parent instanceof GpxExtension) {
    209209            ((GpxExtension) parent).show();
    210210        }
Note: See TracChangeset for help on using the changeset viewer.