Skip to content

Sonar Issues#6

Open
mairKi wants to merge 6 commits intodevelopfrom
IPTE-103_Sonar-Issues
Open

Sonar Issues#6
mairKi wants to merge 6 commits intodevelopfrom
IPTE-103_Sonar-Issues

Conversation

@mairKi
Copy link
Contributor

@mairKi mairKi commented Apr 10, 2024

No description provided.

@mairKi mairKi requested a review from Death111 April 10, 2024 09:23
@mairKi mairKi self-assigned this Apr 10, 2024
@mairKi mairKi changed the base branch from main to develop April 12, 2024 07:43
this.deviceCode.set(deviceCode);
} catch (IOException | InterruptedException e) {
LOG.error("Could not retrieve device code: ", e);
Thread.currentThread().interrupt();
Copy link
Collaborator

Choose a reason for hiding this comment

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

guess we should only interrupt, if interrupt exception was thrown. not also in case of IOException.
(same comment as was already resolved at another place)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is now only interrupted in the event of an interruption exception

Copy link
Collaborator

Choose a reason for hiding this comment

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

  • extra ; present
  • logging is different than in the other locations where u changed it. please do it consistently

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

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

Comments