Skip to content

Commit

Permalink
remove Client object from ItemsResource
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpodsed committed Feb 25, 2025
1 parent fe65f39 commit 30b85e7
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,8 @@ public class ItemsResource extends ClientApiResource {
@Inject
APICallMonitor apiCallMonitor;

private Client c;

public ItemsResource() {
super();
this.c = Client.create();
this.c.setConnectTimeout(5000);
this.c.setReadTimeout(10000);
}

public static Map<String, String> IIIF_SUPPORTED_MIMETYPES = new HashMap<>();
Expand Down

0 comments on commit 30b85e7

Please sign in to comment.