Ignore:
Timestamp:
2016-06-24T09:10:57+02:00 (10 years ago)
Author:
donvip
Message:

checkstyle, update to JOSM 10279

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/RelationFixer.java

    r30738 r32395  
     1// License: GPL. For details, see LICENSE file.
    12package relcontext.relationfix;
    23
     
    2021    /**
    2122     * Construct new RelationFixer by a list of applicable types
    22      * @param types
     23     * @param types types
    2324     */
    2425    public RelationFixer(String... types) {
    2526        applicableTypes = new ArrayList<>();
    26         for(String type: types) {
     27        for (String type: types) {
    2728            applicableTypes.add(type);
    2829        }
     
    3334     * and then check desired relation properties.
    3435     * Note that this only verifies if current RelationFixer can be used to check and fix given relation
    35      * Deeper relation checking is at {@link isRelationGood}
     36     * Deeper relation checking is at {@link #isRelationGood}
    3637     *
    3738     * @param rel Relation to check
     
    4546
    4647        String type = rel.get("type");
    47         for(String oktype: applicableTypes)
     48        for (String oktype: applicableTypes) {
    4849            if (oktype.equals(type))
    4950                return true;
     51        }
    5052
    5153        return false;
     
    7375        this.sortAndFixAction = sortAndFixAction;
    7476    }
     77
    7578    protected void setWarningMessage(String text) {
    7679        if (text == null) {
     
    8083        }
    8184    }
     85
    8286    protected void clearWarningMessage() {
    8387        sortAndFixAction.putValue(Action.SHORT_DESCRIPTION, tr("Fix roles of the chosen relation members"));
    8488    }
    85 
    8689}
Note: See TracChangeset for help on using the changeset viewer.