Changeset 34447 in osm for applications/editors/josm
- Timestamp:
- 2018-08-10T18:52:36+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/native-password-manager/src/org/openstreetmap/josm/plugins/npm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/native-password-manager/src/org/openstreetmap/josm/plugins/npm/Win32Provider.java
r31061 r34447 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.plugins.npm; 3 4 import javax.xml.bind.DatatypeConverter;5 3 6 4 import org.netbeans.modules.keyring.fallback.FallbackProvider; … … 14 12 @Override public byte[] getByteArray(String key, byte[] def) { 15 13 String p = Main.pref.get(key, null); 16 return p == null ? def : DatatypeConverter. parseBase64Binary(p);14 return p == null ? def : DatatypeConverter._parseBase64Binary(p); 17 15 } 18 16 19 17 @Override public void putByteArray(String key, byte[] val) { 20 Main.pref.put(key, val == null ? null : DatatypeConverter. printBase64Binary(val));18 Main.pref.put(key, val == null ? null : DatatypeConverter._printBase64Binary(val)); 21 19 } 22 20
Note:
See TracChangeset
for help on using the changeset viewer.