XN137 commented on code in PR #2164:
URL: https://github.com/apache/polaris/pull/2164#discussion_r2225632289
##########
polaris-core/src/main/java/org/apache/polaris/core/entity/TaskEntity.java:
##########
@@ -41,16 +40,16 @@ public static TaskEntity of(PolarisBaseEntity
polarisEntity) {
public <T> T readData(Class<T> klass) {
PolarisCallContext polarisCallContext =
CallContext.getCurrentContext().getPolarisCallContext();
Review Comment:
if `PolarisObjectMapperUtil` methods did not require the
`PolarisDiagnostics` for reporting json-related errors, then this usage of
`CallContext.getCurrentContext()` could go away (also below in this file).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]