Fixed: warning raised when using ojunit

Previously some warnings were raised when using ojunit (because the new compiler). This PR fixed the warning.