Skip to content

Commit 829618a

Browse files
SNOW-1003775: Mark object mapper factory constant property name as internal (#1636)
1 parent 4ce7a83 commit 829618a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/net/snowflake/client/core/ObjectMapperFactory.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import com.fasterxml.jackson.core.StreamReadConstraints;
44
import com.fasterxml.jackson.databind.MapperFeature;
55
import com.fasterxml.jackson.databind.ObjectMapper;
6-
import net.snowflake.client.log.SFLogger;
7-
import net.snowflake.client.log.SFLoggerFactory;
86

97
/**
108
* Factor method used to create ObjectMapper instance. All object mapper in JDBC should be created
@@ -15,11 +13,10 @@ public class ObjectMapperFactory {
1513
// Snowflake allows up to 16M string size and returns base64 encoded value that makes it up to 23M
1614
public static final int DEFAULT_MAX_JSON_STRING_LEN = 23_000_000;
1715

16+
@SnowflakeJdbcInternalApi
1817
public static final String MAX_JSON_STRING_LENGTH_JVM =
1918
"net.snowflake.jdbc.objectMapper.maxJsonStringLength";
2019

21-
private static final SFLogger logger = SFLoggerFactory.getLogger(ObjectMapperFactory.class);
22-
2320
public static ObjectMapper getObjectMapper() {
2421
ObjectMapper mapper = new ObjectMapper();
2522
mapper.configure(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS, false);

0 commit comments

Comments
 (0)