Changeset 8149 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2015-03-22T23:16:08+01:00 (5 years ago)
Author:
stoecker
Message:

fix #11257 - Remove apache.commons.codecs - patch by Florian Schaefer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r8126 r8149  
    5757import javax.swing.Icon;
    5858import javax.swing.ImageIcon;
    59 
    60 import org.apache.commons.codec.binary.Base64;
     59import javax.xml.bind.DatatypeConverter;
     60
    6161import org.openstreetmap.josm.Main;
    6262import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
     
    824824                byte[] bytes;
    825825                if (";base64".equals(base64)) {
    826                     bytes = Base64.decodeBase64(data);
     826                    bytes = DatatypeConverter.parseBase64Binary(data);
    827827                } else {
    828828                    try {
Note: See TracChangeset for help on using the changeset viewer.