S5411 FP after doing a null check

Windows Eclipse using SonarLint plugin 7.9.0.66038 for java

Rule states it is not raised for booleans that have been null checked.
As can be seen in the following code ‘value’ has been null checked but rules is still raised.

    if (value == null)
    {
        return "null";
    }

    try
    {
        type = metaData.getColumnType(column+1);
    }
    catch (SQLException e)
    {
        return value.toString();
    }

    switch(type) 
    {
        case Types.INTEGER:
        case Types.DOUBLE:
        case Types.FLOAT:
            return value.toString();
        case Types.BIT:
            return (Boolean)value ? "1" : "0";
        case Types.DATE:
            return value.toString(); // This will need some conversion.
        default:
            return "\""+value.toString()+"\"";
    }

Hey there.

Is the issue still raised with the latest version of SonarLint for Eclipse, v7.11?

Yes, it still occurs in v7.11