Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ public DestinationSet(ImmutableConnectorMessage connectorMessage) {
Set<Integer> metaDataIds = null;

try {
if (connectorMessage.getSourceMap().get(Constants.DESTINATION_SET_KEY) instanceof Set<?> set) {
// No pattern matching here: the client's reference parser only understands Java 5 syntax
Object set = connectorMessage.getSourceMap().get(Constants.DESTINATION_SET_KEY);
if (set instanceof Set) {
destinationIdMap = connectorMessage.getDestinationIdMap();
metaDataIds = (Set<Integer>) set;
}
Expand Down
Loading