Skip to content

Resolve compiler warnings #1383

Open
@danielfeismann

Description

@danielfeismann

With scala 3 there are more compiler warnings and informations on code quality available.

e.g.:

[Warn] /home/simona/src/test/scala/edu/ie3/simona/service/load/LoadProfileSourcesSpec.scala:10:59: unused import
[Warn] /home/simona/src/test/scala/edu/ie3/simona/test/common/input/HpInputTestData.scala:20:49: unused import
[Warn] /home/simona/src/test/scala/edu/ie3/simona/test/common/input/HpInputTestData.scala:23:52: unused import
[Warn] /home/simona/src/test/scala/edu/ie3/simona/agent/em/EmAgentIT.scala:247:9: match may not be exhaustive.
It would fail on pattern case: edu.ie3.simona.event.ResultEvent.ParticipantResultEvent(_)

and much more.

Please check which can be handled and resolved.

Metadata

Metadata

Labels

code qualityCode readability or efficiency is improved

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions