mukul-8 commented on code in PR #27743:
URL: https://github.com/apache/flink/pull/27743#discussion_r2896145287


##########
flink-core/src/main/java/org/apache/flink/configuration/DelegatingConfiguration.java:
##########
@@ -109,7 +109,7 @@ public void addAllToProperties(Properties props) {
                     String keyWithoutPrefix =
                             entry.getKey().substring(prefix.length(), 
entry.getKey().length());
 
-                    props.put(keyWithoutPrefix, entry.getValue());
+                    props.put(keyWithoutPrefix, entry.getValue().toString());

Review Comment:
   Good catch. I've verified that `entry.getValue()` cannot be null. The 
`Configuration.setValueInternal()` method ensures only non-null values are 
stored in the internal map, so `entry.getValue()` will always return a non-null 
object at this point.



-- 
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]

Reply via email to