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

Fix code analysis warnings #47

Closed
coeing opened this issue Aug 31, 2020 · 3 comments
Closed

Fix code analysis warnings #47

coeing opened this issue Aug 31, 2020 · 3 comments
Assignees
Milestone

Comments

@coeing
Copy link
Collaborator

coeing commented Aug 31, 2020

Right now we have a lot of code analysis warnings popping up during a Maven build:

mvn install

The code analysis report can be found at openhab-addons/bundles/org.openhab.binding.boschshc/target/code-analysis/report.html afterwards.

We have probably all skipped the code analysis during our work, so the warnings piled up. In the future we should run a normal build each time we merge a pull request.

For now we should fix those as soon as possible to avoid code smells.

@coeing coeing added this to the 1.0 milestone Aug 31, 2020
coeing added a commit that referenced this issue Aug 31, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
@coeing
Copy link
Collaborator Author

coeing commented Aug 31, 2020

Fixed some first warnings in my classes, 34 warnings left :)

coeing added a commit that referenced this issue Sep 21, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 1, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 1, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
@coeing
Copy link
Collaborator Author

coeing commented Oct 1, 2020

Warnings left:

  • 3 TODOs in BoschSHCBridgeHandler.java and BoschSslUtil.java (we should turn those into issues)
  • AvoidThrowingRawExceptionTypes in BoschSHCHandler.java

coeing added a commit that referenced this issue Oct 18, 2020
…is warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 18, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 18, 2020
…ng to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
@coeing
Copy link
Collaborator Author

coeing commented Oct 18, 2020

Fixed remaining warnings. If new ones should arrive, we should open new issues for each one (or a group of them) to avoid having long open issues :)

@coeing coeing closed this as completed Oct 18, 2020
coeing added a commit that referenced this issue Oct 22, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 22, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 22, 2020
…is warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 22, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 22, 2020
…ng to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 26, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
…is warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
…ng to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…is warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…ng to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…is warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…ng to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
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

No branches or pull requests

3 participants