Bug 905516 - fixing strict warning in method/core