if (isDisabled) {
ir.setDisabled(true);
}
return ir;
}
<BUG>public CompletableFuture<ImageResource> getResourceAsync() {
return CompletableFuture.supplyAsync(this::getResource, IMAGE_FETCHER);

}</BUG>
public static ImageIcon get(String subdir, String name) {

if (isDisabled) {
ir.setDisabled(true);
}
return ir;
}
public CompletableFuture<ImageResource> getResourceAsync() {
return name.startsWith(HTTP_PROTOCOL) || name.startsWith(WIKI_PROTOCOL)
? CompletableFuture.supplyAsync(this::getResource, IMAGE_FETCHER)
: CompletableFuture.completedFuture(getResource());
}
public static ImageIcon get(String subdir, String name) {
