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 85391c7 commit f7e6c0dCopy full SHA for f7e6c0d
src/main/java/com/fasterxml/jackson/core/JsonFactory.java
@@ -23,6 +23,8 @@
23
import com.fasterxml.jackson.core.util.DefaultPrettyPrinter;
24
import com.fasterxml.jackson.core.util.JacksonFeature;
25
26
+import static aQute.bnd.annotation.Resolution.OPTIONAL;
27
+
28
/**
29
* The main factory class of Jackson package, used to configure and
30
* construct reader (aka parser, {@link JsonParser})
@@ -44,7 +46,7 @@
44
46
* @author Tatu Saloranta
45
47
*/
48
@SuppressWarnings("resource")
-@ServiceProvider(JsonFactory.class) // will be `TokenStreamFactory` in 3.x
49
+@ServiceProvider(value = JsonFactory.class, resolution = OPTIONAL) // will be `TokenStreamFactory` in 3.x
50
public class JsonFactory
51
extends TokenStreamFactory
52
implements Versioned,
0 commit comments