Ignore:
Timestamp:
2014-05-09T04:49:54+02:00 (10 years ago)
Author:
Don-vip
Message:

fixes for unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java

    r7033 r7081  
    102102    @Override
    103103    public InputStream getSourceInputStream() throws IOException {
    104         MirroredInputStream in = new MirroredInputStream(url, null, XML_STYLE_MIME_TYPES);
     104        MirroredInputStream in = getMirroredInputStream();
    105105        InputStream zip = in.findZipEntryInputStream("xml", "style");
    106106        if (zip != null) {
     
    111111            return in;
    112112        }
     113    }
     114
     115    @Override
     116    public MirroredInputStream getMirroredInputStream() throws IOException {
     117        return new MirroredInputStream(url, null, XML_STYLE_MIME_TYPES);
    113118    }
    114119
Note: See TracChangeset for help on using the changeset viewer.