Remove console warnings related to method deprecation, https://issues.apache.org/jira/browse/OFBIZ-5718.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618459 13f79535-47bb-0310-9956-ffa450edef68