- Timestamp:
- 2017-07-30T06:19:58+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/notes/Note.java
r11878 r12540 79 79 } 80 80 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 */ 82 85 public long getId() { 83 86 return id; … … 92 95 } 93 96 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 */ 95 101 public LatLon getLatLon() { 96 102 return latLon; 97 103 } 98 104 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 */ 100 109 public Date getCreatedAt() { 101 110 return DateUtils.cloneDate(createdAt); … … 110 119 } 111 120 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 */ 113 125 public Date getClosedAt() { 114 126 return DateUtils.cloneDate(closedAt); … … 123 135 } 124 136 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 */ 126 141 public State getState() { 127 142 return state; … … 136 151 } 137 152 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 */ 139 157 public List<NoteComment> getComments() { 140 158 return comments; -
trunk/src/org/openstreetmap/josm/data/notes/NoteComment.java
r11878 r12540 58 58 } 59 59 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 */ 61 64 public String getText() { 62 65 return text; 63 66 } 64 67 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 */ 66 72 public User getUser() { 67 73 return user; 68 74 } 69 75 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 */ 71 80 public Date getCommentTimestamp() { 72 81 return DateUtils.cloneDate(commentTimestamp); 73 82 } 74 83 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 */ 76 88 public Action getNoteAction() { 77 89 return action; … … 86 98 } 87 99 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 */ 89 104 public boolean isNew() { 90 105 return isNew; -
trunk/src/org/openstreetmap/josm/data/osm/NoteData.java
r12343 r12540 265 265 } 266 266 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 */ 268 271 public Comparator<Note> getCurrentSortMethod() { 269 272 return comparator; -
trunk/src/org/openstreetmap/josm/gui/NoteSortDialog.java
r12279 r12540 73 73 } 74 74 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 */ 76 79 public Comparator<Note> getSelectedComparator() { 77 80 if (dateSort.isSelected()) {
Note:
See TracChangeset
for help on using the changeset viewer.