replaced deprecated class
[PAXURL-254] Fix compiler warnings