mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-06 17:18:54 +08:00
fix(URLUtil): correct spelling of "occurred" in exception messages
This commit is contained in:
parent
ff32ed0872
commit
7258a5b946
@ -270,7 +270,7 @@ public class URLUtil extends URLEncodeUtil {
|
|||||||
try {
|
try {
|
||||||
return file.toURI().toURL();
|
return file.toURI().toURL();
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
throw new UtilException(e, "Error occured when get URL!");
|
throw new UtilException(e, "Error occurred when get URL!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -288,7 +288,7 @@ public class URLUtil extends URLEncodeUtil {
|
|||||||
urls[i] = files[i].toURI().toURL();
|
urls[i] = files[i].toURI().toURL();
|
||||||
}
|
}
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
throw new UtilException(e, "Error occured when get URL!");
|
throw new UtilException(e, "Error occurred when get URL!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return urls;
|
return urls;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user