Changeset 12540 in josm for trunk/src/org/openstreetmap/josm/data/notes/NoteComment.java
- Timestamp:
- 2017-07-30T06:19:58+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.