JBIDE-13987 : remove hardcoded condition

Signed-off-by: Fred Bricon <fbricon@gmail.com>