JBDS warnings removal

Changes in order to remove warnings in JBDS