mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-14 00:59:19 +01:00
fix: uri is not absolute error when giving linux paths
This commit is contained in:
parent
3000895130
commit
ea030e54b9
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class MapperProvider {
|
||||||
try {
|
try {
|
||||||
URI target = new URI(location);
|
URI target = new URI(location);
|
||||||
targetStream = target.toURL().openStream();
|
targetStream = target.toURL().openStream();
|
||||||
} catch(URISyntaxException | IOException e) {
|
} catch(URISyntaxException | IllegalArgumentException | IOException e) {
|
||||||
//may be a local file path
|
//may be a local file path
|
||||||
File f = new File(location);
|
File f = new File(location);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue