Warning in appium log file

I am using appium version 1.3.4, and java client version 2.1.0

I see this warning in appium log file probably when WebElement.getLocation() method is being executed.

warn: location will be removed in a future version of Appium, please use location_in_view

Should I replace the call to getLocation() method by some other method? Which one?