File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/main/java/org/culturegraph/mf/morph/maps Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1616package org .culturegraph .mf .morph .maps ;
1717
1818import java .io .BufferedReader ;
19- import java .io .FileNotFoundException ;
2019import java .io .IOException ;
2120import java .io .InputStream ;
2221import java .io .InputStreamReader ;
2726import java .util .regex .Matcher ;
2827import java .util .regex .Pattern ;
2928
30- import org .culturegraph .mf .exceptions .MetafactureException ;
31-
3229/**
3330 * @author "Markus Michael Geipel", "Philipp v. Böselager"
3431 *
@@ -53,11 +50,8 @@ public String get(final Object key) {
5350 String urlString = matcher .replaceAll (key .toString ());
5451 return readFromUrl (urlString );
5552 } catch (IOException | URISyntaxException e ) {
56- if (e instanceof FileNotFoundException ) {
57- // There was no data result for the given URL
58- return null ;
59- }
60- throw new MetafactureException (e );
53+ // There was no data result for the given URL
54+ return null ;
6155 }
6256 }
6357
You can’t perform that action at this time.
0 commit comments