Sonar issue : magic numbers