Changeset 11879 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-04-10T03:28:15+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CacheCustomContent.java
r11510 r11879 12 12 13 13 import org.openstreetmap.josm.Main; 14 import org.openstreetmap.josm.tools.Utils; 14 15 15 16 /** … … 136 137 * @throws T if an error occurs 137 138 */ 138 p ublicbyte[] updateForce() throws T {139 private byte[] updateForce() throws T { 139 140 this.data = updateData(); 140 141 saveToDisk(); … … 162 163 loadFromDisk(); 163 164 } 164 return data;165 return Utils.copyArray(data); 165 166 } 166 167 -
trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgentResponse.java
r9059 r11879 40 40 */ 41 41 public char[] getPassword() { 42 return password;42 return Utils.copyArray(password); 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.