Changeset 17972 in josm for trunk/src/org/openstreetmap/josm/data/oauth
- Timestamp:
- 2021-07-09T22:33:03+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OsmPrivileges.java
r9201 r17972 13 13 private boolean allowWritePrefs; 14 14 private boolean allowModifyNotes; 15 private boolean allowWriteDiary; 15 16 16 17 /** … … 109 110 this.allowModifyNotes = allowModifyNotes; 110 111 } 112 113 /** 114 * Determines if the client is allowed to write diary. 115 * @return {@code true} if the client is allowed to write diary, {@code false} otherwise 116 * @since 17972 117 */ 118 public boolean isAllowWriteDiary() { 119 return allowWriteDiary; 120 } 121 122 /** 123 * Sets whether the client is allowed to write diary. 124 * @param allowWriteDiary {@code true} if the client is allowed to write diary, {@code false} otherwise 125 * @since 17972 126 */ 127 public void setAllowWriteDiary(boolean allowWriteDiary) { 128 this.allowWriteDiary = allowWriteDiary; 129 } 111 130 }
Note:
See TracChangeset
for help on using the changeset viewer.