SONAR-4535 Remove useless check due to usage of primitif