Changeset 12540 in josm for trunk/src


Ignore:
Timestamp:
2017-07-30T06:19:58+02:00 (7 years ago)
Author:
Don-vip
Message:

checkstyle - SingleLineJavadocCheck

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/notes/Note.java

    r11878 r12540  
    7979    }
    8080
    81     /** @return The unique OSM ID of this note */
     81    /**
     82     * Returns the unique OSM ID of this note.
     83     * @return The unique OSM ID of this note
     84     */
    8285    public long getId() {
    8386        return id;
     
    9295    }
    9396
    94     /** @return The geographic location of the note */
     97    /**
     98     * Returns the geographic location of the note.
     99     * @return The geographic location of the note
     100     */
    95101    public LatLon getLatLon() {
    96102        return latLon;
    97103    }
    98104
    99     /** @return Date that this note was submitted */
     105    /**
     106     * Returns the date at which this note was submitted.
     107     * @return Date that this note was submitted
     108     */
    100109    public Date getCreatedAt() {
    101110        return DateUtils.cloneDate(createdAt);
     
    110119    }
    111120
    112     /** @return Date that this note was closed. Null if it is still open. */
     121    /**
     122     * Returns the date at which this note was closed.
     123     * @return Date that this note was closed. Null if it is still open.
     124     */
    113125    public Date getClosedAt() {
    114126        return DateUtils.cloneDate(closedAt);
     
    123135    }
    124136
    125     /** @return The open or closed state of this note */
     137    /**
     138     * Returns the open or closed state of this note.
     139     * @return The open or closed state of this note
     140     */
    126141    public State getState() {
    127142        return state;
     
    136151    }
    137152
    138     /** @return An ordered list of comments associated with this note */
     153    /**
     154     * Returns the list of comments associated with this note.
     155     * @return An ordered list of comments associated with this note
     156     */
    139157    public List<NoteComment> getComments() {
    140158        return comments;
  • trunk/src/org/openstreetmap/josm/data/notes/NoteComment.java

    r11878 r12540  
    5858    }
    5959
    60     /** @return Plain text of user's comment */
     60    /**
     61     * Returns Plain text of user's comment.
     62     * @return Plain text of user's comment
     63     */
    6164    public String getText() {
    6265        return text;
    6366    }
    6467
    65     /** @return JOSM's User object for the user who made this comment */
     68    /**
     69     * Returns the user who made this comment.
     70     * @return JOSM's User object for the user who made this comment
     71     */
    6672    public User getUser() {
    6773        return user;
    6874    }
    6975
    70     /** @return The time at which this comment was created */
     76    /**
     77     * Returns the time at which this comment was created.
     78     * @return The time at which this comment was created
     79     */
    7180    public Date getCommentTimestamp() {
    7281        return DateUtils.cloneDate(commentTimestamp);
    7382    }
    7483
    75     /** @return the action associated with this note */
     84    /**
     85     * Returns the action associated with this note.
     86     * @return the action associated with this note
     87     */
    7688    public Action getNoteAction() {
    7789        return action;
     
    8698    }
    8799
    88     /** @return true if this is a new comment/action and needs to be uploaded to the API */
     100    /**
     101     * Determines if this is a new comment/action and needs to be uploaded to the API
     102     * @return true if this is a new comment/action and needs to be uploaded to the API
     103     */
    89104    public boolean isNew() {
    90105        return isNew;
  • trunk/src/org/openstreetmap/josm/data/osm/NoteData.java

    r12343 r12540  
    265265    }
    266266
    267     /** @return The current comparator being used to sort the note list */
     267    /**
     268     * Returns the current comparator being used to sort the note list.
     269     * @return The current comparator being used to sort the note list
     270     */
    268271    public Comparator<Note> getCurrentSortMethod() {
    269272        return comparator;
  • trunk/src/org/openstreetmap/josm/gui/NoteSortDialog.java

    r12279 r12540  
    7373    }
    7474
    75     /** @return Note comparator that the user has selected */
     75    /**
     76     * Returns the Note comparator that the user has selected.
     77     * @return Note comparator that the user has selected
     78     */
    7679    public Comparator<Note> getSelectedComparator() {
    7780        if (dateSort.isSelected()) {
Note: See TracChangeset for help on using the changeset viewer.