mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
simplify
This commit is contained in:
parent
2ea1073bf5
commit
58fbce005a
@ -138,7 +138,7 @@ public class JWebAssembly {
|
|||||||
*/
|
*/
|
||||||
public void addLibrary( @Nonnull File library ) {
|
public void addLibrary( @Nonnull File library ) {
|
||||||
try {
|
try {
|
||||||
libraries.add( library.toURI().toURL() );
|
addLibrary( library.toURI().toURL() );
|
||||||
} catch( MalformedURLException ex ) {
|
} catch( MalformedURLException ex ) {
|
||||||
throw new IllegalArgumentException( ex );
|
throw new IllegalArgumentException( ex );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user