Skip to content

Commit 003e560

Browse files
committed
Polish previous commit
1 parent b30b2c8 commit 003e560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-function-context/src/main/java/org/springframework/cloud/function/cloudevent/CloudEventMessageUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ private static Message<?> buildBinaryMessageFromStructuredMap(Map<String, Object
455455

456456
private static URI safeGetURI(Map<String, Object> map, String key) {
457457
Object uri = map.get(key);
458-
if (uri != null && uri instanceof String) {
458+
if (uri != null) {
459459
if (uri instanceof String) {
460460
uri = URI.create((String) uri);
461461
}

0 commit comments

Comments
 (0)