magefree / magefree/mage

SONAR: "InterruptedException" should not be ignored

Open
#5,617 2 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

One of the issues that SONAR detects is "InterruptedException" should not be ignored.

See: https://sonarcloud.io/organizations/jaydi85-github/rules?open=squid%3AS2142&rule_key=squid%3AS2142

SONAR states that each caught InterruptedException should re-interrupt the current thread, by explicitly calling Thread.currentThread()..interrupt(), even in single-threaded applications.

This is a simple fix, but needs to have some investigation/opinion if this is proper for the mage client in its current implementation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.