master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ccf4103a25 - Show all commits

View File

@ -169,7 +169,7 @@ public class OafToOafMapper extends AbstractMdRecordToOafMapper {
.map(s -> { .map(s -> {
try { try {
return URLDecoder.decode(s, "UTF-8"); return URLDecoder.decode(s, "UTF-8");
} catch (UnsupportedEncodingException e) { } catch (Throwable t) {
return s; return s;
} }
}) })

View File

@ -168,7 +168,7 @@ public class OdfToOafMapper extends AbstractMdRecordToOafMapper {
protected String trimAndDecodeUrl(String url) { protected String trimAndDecodeUrl(String url) {
try { try {
return URLDecoder.decode(url.trim(), "UTF-8"); return URLDecoder.decode(url.trim(), "UTF-8");
} catch (UnsupportedEncodingException e) { } catch (Throwable t) {
return url; return url;
} }
} }