Skip to content

Conversation

@omercelikceng
Copy link
Contributor

No description provided.

private void checkCustomizedArgs() throws MalformedURLException, URISyntaxException, InterruptedException {
List<Map<String, Object>> bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
int n = 0;
while (n++ < 100 && bindings == null || bindings.size() < 1) {
Copy link
Contributor

@olegz olegz Aug 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not looked at this code, but usually < 1 implies that there may be two or more bindings, for which there would be additional handling. Please take a look. While < 1 is effectively the same as empty, i just want to make sure we're not missing something

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @olegz . I hadn't looked at the situation from this perspective. I'm reverting my change right away.

@olegz olegz closed this in 8e5f67a Aug 20, 2024
@omercelikceng omercelikceng deleted the codeCleanup branch October 4, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants