mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-06 09:09:10 +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 {
|
||||
return file.toURI().toURL();
|
||||
} 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();
|
||||
}
|
||||
} catch (MalformedURLException e) {
|
||||
throw new UtilException(e, "Error occured when get URL!");
|
||||
throw new UtilException(e, "Error occurred when get URL!");
|
||||
}
|
||||
|
||||
return urls;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user