Ignore:
Timestamp:
2009-08-03T21:18:50+02:00 (15 years ago)
Author:
jttt
Message:

Way refactoring - rewritten another parts of code to the new nodes api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java

    r1814 r1898  
    5555 * This dialog displays the {@see ConflictCollection} of the active {@see OsmDataLayer} in a toggle
    5656 * dialog on the right of the main frame.
    57  * 
     57 *
    5858 */
    5959public final class ConflictDialog extends ToggleDialog implements LayerChangeListener, IConflictListener, SelectionChangedListener{
     
    128128    /**
    129129     * Launches a conflict resolution dialog for the first selected conflict
    130      * 
     130     *
    131131     */
    132132    private final void resolve() {
     
    180180            public void visit(Way w) {
    181181                Node lastN = null;
    182                 for (Node n : w.nodes) {
     182                for (Node n : w.getNodes()) {
    183183                    if (lastN == null) {
    184184                        lastN = n;
     
    206206    /**
    207207     * replies the conflict collection currently held by this dialog; may be null
    208      * 
     208     *
    209209     * @return the conflict collection currently held by this dialog; may be null
    210210     */
Note: See TracChangeset for help on using the changeset viewer.