Ignore:
Timestamp:
2014-02-24T17:49:12+01:00 (6 years ago)
Author:
Don-vip
Message:

javadoc/code style/minor refactorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/DuplicateRelationAction.java

    r6093 r6881  
    1111import org.openstreetmap.josm.tools.ImageProvider;
    1212
    13 
    1413/**
    1514 * Creates a new relation with a copy of the current editor state
     
    1716 */
    1817public class DuplicateRelationAction extends AbstractRelationAction {
    19    
     18
    2019    /**
    21      * Constructs a new {@code DuplicateRelationAction}. 
     20     * Constructs a new {@code DuplicateRelationAction}.
    2221     */
    2322    public DuplicateRelationAction() {
     
    2726    }
    2827
     28    /**
     29     * Duplicates the given relation and launches the relation editor for the created copy.
     30     * @param original The relation to duplicate
     31     */
    2932    public static void duplicateRelationAndLaunchEditor(Relation original) {
    3033        Relation copy = new Relation(original, true);
     
    5053        // only one selected relation can be edited
    5154        setEnabled( relations.size()==1 );
    52     }       
     55    }
    5356}
Note: See TracChangeset for help on using the changeset viewer.