[cleanup] Fixed compiler warning, use standard Java classes instead of custom libraries