Changeset 10746 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-08-06T16:52:01+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r10741 r10746 32 32 import java.util.ArrayList; 33 33 import java.util.Arrays; 34 import java.util.Base64; 34 35 import java.util.Collection; 35 36 import java.util.HashMap; … … 55 56 import javax.imageio.stream.ImageInputStream; 56 57 import javax.swing.ImageIcon; 57 import javax.xml.bind.DatatypeConverter;58 58 import javax.xml.parsers.ParserConfigurationException; 59 59 … … 951 951 byte[] bytes; 952 952 if (";base64".equals(base64)) { 953 bytes = DatatypeConverter.parseBase64Binary(data);953 bytes = Base64.getDecoder().decode(data); 954 954 } else { 955 955 try {
Note:
See TracChangeset
for help on using the changeset viewer.