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


Ignore:
Timestamp:
2016-03-02T21:40:43+01:00 (9 years ago)
Author:
Don-vip
Message:

see #12587 - checkstyle

File:
1 edited

Legend:

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

    r9912 r9915  
    271271                if (uncompressAccordingToContentDisposition && Compression.NONE.equals(compression)) {
    272272                    final String contentDisposition = getHeaderField("Content-Disposition");
    273                     final Matcher matcher = Pattern.compile("filename=\"([^\"]+)\"").matcher(contentDisposition != null ? contentDisposition : "");
     273                    final Matcher matcher = Pattern.compile("filename=\"([^\"]+)\"").matcher(
     274                            contentDisposition != null ? contentDisposition : "");
    274275                    if (matcher.find()) {
    275276                        Main.debug("Uncompressing input stream according to Content-Disposition header: {0}", contentDisposition);
Note: See TracChangeset for help on using the changeset viewer.