Ignore:
Timestamp:
2014-02-25T01:31:24+01:00 (6 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
3 edited

Legend:

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

    r6830 r6883  
    2525public class DownloadReferrersAction extends JosmAction {
    2626
    27         /**
    28         * Constructs a new {@code DownloadReferrersAction}.
    29         */
     27    /**
     28    * Constructs a new {@code DownloadReferrersAction}.
     29    */
    3030    public DownloadReferrersAction() {
    3131        super(tr("Download parent ways/relations..."), "download",
    32                         tr("Download objects referring to one of the selected objects"),
     32                tr("Download objects referring to one of the selected objects"),
    3333                Shortcut.registerShortcut("file:downloadreferrers",
    34                                 tr("File: {0}", tr("Download parent ways/relations...")), KeyEvent.VK_D, Shortcut.ALT_CTRL),
     34                        tr("File: {0}", tr("Download parent ways/relations...")), KeyEvent.VK_D, Shortcut.ALT_CTRL),
    3535                true, "downloadreferrers", true);
    3636        putValue("help", ht("/Action/DownloadParentWaysAndRelation"));
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFastSlowAction.java

    r6380 r6883  
    1313 * @since 563
    1414 */
    15 abstract public class AudioFastSlowAction extends JosmAction {
     15public abstract class AudioFastSlowAction extends JosmAction {
    1616
    1717    private double multiplier;
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r6848 r6883  
    208208     * Base class for all search operators.
    209209     */
    210     abstract public static class Match implements Predicate<OsmPrimitive> {
    211 
    212         abstract public boolean match(OsmPrimitive osm);
     210    public abstract static class Match implements Predicate<OsmPrimitive> {
     211
     212        public abstract boolean match(OsmPrimitive osm);
    213213
    214214        /**
     
    243243     * A unary search operator which may take data parameters.
    244244     */
    245     abstract public static class UnaryMatch extends Match {
     245    public abstract static class UnaryMatch extends Match {
    246246
    247247        protected final Match match;
     
    265265     * A binary search operator which may take data parameters.
    266266     */
    267     abstract public static class BinaryMatch extends Match {
     267    public abstract static class BinaryMatch extends Match {
    268268
    269269        protected final Match lhs;
Note: See TracChangeset for help on using the changeset viewer.