Fix a small problem
@@ -4,11 +4,13 @@ import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
+import javax.annotation.Nonnull;
+
public class SimpleResourceLoader extends ResourceLoader{
public SimpleResourceLoader() {}
@Override
- public final InputStream getResourceStream(URL url) throws IOException{
+ public final InputStream getResourceStream(@Nonnull URL url) throws IOException{
return url.openConnection().getInputStream();
}
