Ignore:
Timestamp:
2023-08-09T15:30:01+02:00 (3 years ago)
Author:
taylor.smock
Message:

Fix #22832: Code cleanup and some simplification, documentation fixes (patch by gaben)

There should not be any functional changes in this patch; it is intended to do
the following:

  • Simplify and cleanup code (example: Arrays.asList(item) -> Collections.singletonList(item))
  • Fix typos in documentation (which also corrects the documentation to match what actually happens, in some cases)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/MainLayerManager.java

    r18691 r18801  
    2727 * The active layer is the layer the user is currently working on.
    2828 * <p>
    29  * The edit layer is an data layer that we currently work with.
     29 * The edit layer is a data layer that we currently work with.
    3030 * @author Michael Zangl
    3131 * @since 10279
     
    211211
    212212    /**
    213      * Adds a active/edit layer change listener. Fire a fake active-layer-changed-event right after adding
     213     * Adds an active/edit layer change listener. Fire a fake active-layer-changed-event right after adding
    214214     * the listener. The previous layers will be null. The listener is notified in the current thread.
    215215     * @param listener the listener.
Note: See TracChangeset for help on using the changeset viewer.