Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A session of compile warning hunt #4472

Merged
merged 5 commits into from
Dec 7, 2024

Conversation

clinique
Copy link
Contributor

@clinique clinique commented Dec 4, 2024

Decreased the number of warnings from 277 to 196 when compiling org.openhab.core

Signed-off-by: Gaël L'hopital <[email protected]>
@clinique clinique requested a review from a team as a code owner December 4, 2024 14:37
Signed-off-by: Gaël L'hopital <[email protected]>
@@ -19,7 +19,6 @@
import org.openhab.core.events.AbstractEventFactory;
import org.openhab.core.events.Event;
import org.openhab.core.events.EventFactory;
import org.openhab.core.types.Type;
Copy link
Contributor

Choose a reason for hiding this comment

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

When removing it here, you probably need to fully qualify it in the Javadoc (e.g. line 40).

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

…own to 196 warnings now.

Signed-off-by: Gaël L'hopital <[email protected]>
Signed-off-by: Gaël L'hopital <[email protected]>
Copy link
Member

@holgerfriedrich holgerfriedrich left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot!

@holgerfriedrich holgerfriedrich merged commit ed2d196 into openhab:main Dec 7, 2024
5 checks passed
@holgerfriedrich holgerfriedrich added this to the 4.3 milestone Dec 7, 2024
@clinique clinique deleted the warning_hunt_1 branch December 19, 2024 10:38
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.

3 participants