We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b170bc1 commit 51afe69Copy full SHA for 51afe69
src/main/java/io/codebottle/api/CodeBottle.java
@@ -15,18 +15,12 @@
15
import org.jetbrains.annotations.Nullable;
16
17
public final class CodeBottle {
18
- private static final ObjectMapper objectMapper;
19
-
20
private final Map<Integer, Language> languageCache = new ConcurrentHashMap<>();
21
private final Map<Integer, Category> categoryCache = new ConcurrentHashMap<>();
22
private final Map<Integer, Snippet> snippetCache = new ConcurrentHashMap<>();
23
24
private final String token;
25
26
- static {
27
- objectMapper = new ObjectMapper();
28
- }
29
30
public CodeBottle() {
31
this(null);
32
}
0 commit comments