Changeset 10746 in josm for trunk/src/com/kitfox/svg/app
- Timestamp:
- 2016-08-06T16:52:01+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/app/data/Handler.java
r8149 r10746 42 42 import java.net.URLConnection; 43 43 import java.net.URLStreamHandler; 44 import java.util.Base64; 44 45 import java.util.logging.Level; 45 46 import java.util.logging.Logger; 46 47 import javax.xml.bind.DatatypeConverter;48 47 49 48 /** … … 71 70 try 72 71 { 73 buf = DatatypeConverter.parseBase64Binary(content.substring(7));72 buf = Base64.getDecoder().decode(content.substring(7)); 74 73 } 75 74 catch (IllegalArgumentException e)
Note:
See TracChangeset
for help on using the changeset viewer.