Skip to content

LGTM.com - false positive #7238

@SgtSilvio

Description

@SgtSilvio

Description of the false positive

Getting some java/constant-comparison false positives with char types.
It seems that chars are interpreted as ints.
The same code did not show these warning a while back.

URL to the alert on the project page on LGTM.com

https://lgtm.com/projects/g/hivemq/hivemq-mqtt-client/snapshot/8690e4a99ed4eb8366fe8782189fb21c780b5031/files/src/main/java/com/hivemq/client/internal/mqtt/datatypes/MqttUtf8StringImpl.java?sort=name&dir=ASC&mode=heatmap#xd62db7a479f7dea4:1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions