Changeset 9991 in josm


Ignore:
Timestamp:
2016-03-14T02:10:35+01:00 (9 years ago)
Author:
Don-vip
Message:

sonar - fix comment indentation

Location:
trunk/src/org/openstreetmap/josm
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java

    r9977 r9991  
    6767     * @param fastFail whether opening HTTP connections should fail fast, see {@link ImageryReader#setFastFail(boolean)}
    6868     */
    69      public void load(boolean fastFail) {
     69    public void load(boolean fastFail) {
    7070        clear();
    7171        List<ImageryPreferenceEntry> entries = Main.pref.getListOfStructs("imagery.entries", null, ImageryPreferenceEntry.class);
  • trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java

    r9978 r9991  
    290290    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
    291291    private static final String[] GENERIC_TLDS = new String[] {
    292          // Taken from Version 2016031001, Last Updated Fri Mar 11 07:07:01 2016 UTC
     292        // Taken from Version 2016031001, Last Updated Fri Mar 11 07:07:01 2016 UTC
    293293        "aaa", // aaa American Automobile Association, Inc.
    294294        "aarp", // aarp AARP
     
    12621262        "al",                 // Albania
    12631263        "am",                 // Armenia
    1264 //        "an",                 // Netherlands Antilles (retired)
     1264        //"an",               // Netherlands Antilles (retired)
    12651265        "ao",                 // Angola
    12661266        "aq",                 // Antarctica
     
    14771477        "tn",                 // Tunisia
    14781478        "to",                 // Tonga
    1479 //        "tp",                 // East Timor (Retired)
     1479        //"tp",               // East Timor (Retired)
    14801480        "tr",                 // Turkey
    14811481        "tt",                 // Trinidad and Tobago
  • trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java

    r9983 r9991  
    155155
    156156    private static final int PARSE_AUTHORITY_HOST_IP = 2; // excludes userinfo, if present
    157 
    158     // Not needed, because it is validated by AUTHORITY_REGEX
    159 //    private static final int PARSE_AUTHORITY_PORT = 3;
    160157
    161158    /**
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r9659 r9991  
    231231                }
    232232        );
    233         registerCopyPasteAction(tagEditorPanel.getPasteAction(),
    234                 "PASTE_TAGS",
    235                 // CHECKSTYLE.OFF: LineLength
     233        // CHECKSTYLE.OFF: LineLength
     234        registerCopyPasteAction(tagEditorPanel.getPasteAction(), "PASTE_TAGS",
    236235                Shortcut.registerShortcut("system:pastestyle", tr("Edit: {0}", tr("Paste Tags")), KeyEvent.VK_V, Shortcut.CTRL_SHIFT).getKeyStroke());
    237                 // CHECKSTYLE.ON: LineLength
     236        // CHECKSTYLE.ON: LineLength
    238237
    239238        registerCopyPasteAction(new PasteMembersAction(memberTableModel, getLayer(), this) {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/DownloadSelectedIncompleteMembersAction.java

    r9665 r9991  
    99import org.openstreetmap.josm.Main;
    1010import org.openstreetmap.josm.gui.dialogs.relation.DownloadRelationMemberTask;
     11import org.openstreetmap.josm.gui.dialogs.relation.IRelationEditor;
    1112import org.openstreetmap.josm.gui.dialogs.relation.MemberTable;
    1213import org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel;
    13 import org.openstreetmap.josm.gui.dialogs.relation.IRelationEditor;
    1414import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    1515import org.openstreetmap.josm.io.OnlineResource;
     
    3333            OsmDataLayer layer, IRelationEditor editor) {
    3434        super(memberTable, memberTableModel, actionMapKey, layer, editor);
    35         //  Shortcut.register Shortcut("relationeditor:downloadincomplete", tr("Relation Editor: Download Members"),
    36             // KeyEvent.VK_K, Shortcut.ALT)
    3735        putValue(SHORT_DESCRIPTION, tr("Download selected incomplete members"));
    3836        putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "downloadincompleteselected"));
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/ReverseAction.java

    r9665 r9991  
    2626        putValue(SMALL_ICON, ImageProvider.get("dialogs/relation", "reverse"));
    2727        putValue(NAME, tr("Reverse"));
    28     //  Shortcut.register Shortcut("relationeditor:reverse", tr("Relation Editor: Reverse"), KeyEvent.VK_END, Shortcut.ALT)
    2928        updateEnabledState();
    3029    }
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java

    r9972 r9991  
    544544     * @return {@code true} if this preset matches the primitive
    545545     */
    546      @Override
     546    @Override
    547547    public boolean evaluate(OsmPrimitive p) {
    548548        return matches(EnumSet.of(TaggingPresetType.forPrimitive(p)), p.getKeys(), false);
  • trunk/src/org/openstreetmap/josm/gui/widgets/FileChooserManager.java

    r9978 r9991  
    210210     * @return this
    211211     */
    212      public FileChooserManager title(String value) {
     212    public FileChooserManager title(String value) {
    213213        title = value;
    214214        return this;
Note: See TracChangeset for help on using the changeset viewer.