From 58fbce005a0d493019faff0d8678709d8d1370a7 Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Thu, 4 Apr 2019 18:54:52 +0200 Subject: [PATCH] simplify --- src/de/inetsoftware/jwebassembly/JWebAssembly.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/inetsoftware/jwebassembly/JWebAssembly.java b/src/de/inetsoftware/jwebassembly/JWebAssembly.java index c37e774..427c429 100644 --- a/src/de/inetsoftware/jwebassembly/JWebAssembly.java +++ b/src/de/inetsoftware/jwebassembly/JWebAssembly.java @@ -138,7 +138,7 @@ public class JWebAssembly { */ public void addLibrary( @Nonnull File library ) { try { - libraries.add( library.toURI().toURL() ); + addLibrary( library.toURI().toURL() ); } catch( MalformedURLException ex ) { throw new IllegalArgumentException( ex ); }