Ignore:
Timestamp:
2016-06-25T11:56:57+02:00 (8 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

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

    r32395 r32398  
    2626    @Override
    2727    public String checkFormat(IWay way, String defaultName) {
    28         if (way.get("place") != null && way.get("name") == null && way.get("place_name") != null )
     28        if (way.get("place") != null && way.get("name") == null && way.get("place_name") != null)
    2929            return way.get("place_name") + " " + defaultName;
    3030        return null;
     
    3737            String name = relation.get("destination");
    3838            if (type.equals("destination_sign") && name != null) {
    39                 if (relation.get("distance") != null ) {
     39                if (relation.get("distance") != null) {
    4040                    name += " " + relation.get("distance");
    4141                }
    42                 if (defaultName.indexOf('"') < 0 )
     42                if (defaultName.indexOf('"') < 0)
    4343                    return '"' + name + "\" " + defaultName;
    4444                else
Note: See TracChangeset for help on using the changeset viewer.