Ticket #3489: fixpattern.patch

File fixpattern.patch, 612 bytes (added by bilbo, 16 years ago)

fix

  • src/org/openstreetmap/josm/actions/UploadAction.java

     
    327327            return;
    328328        }
    329329        pattern ="The changeset (\\d+) was closed at (.*)";
     330        p = Pattern.compile(pattern);
    330331        m = p.matcher(e.getErrorHeader());
    331332        if (m.matches()) {
    332333            handleUploadConflictForClosedChangeset(Long.parseLong(m.group(1)), DateUtils.fromString(m.group(2)));