mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Remove unnecessary use of String.valueOf() from GPSExtractor (#2958)
valueOf() was being used in cases where it wasn't necessary because the method is called implicitly; this patch removes these usages to make the code clearer and easier to read.
This commit is contained in:
parent
b176515153
commit
200f038f2c
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class GPSExtractor {
|
|||
decLongitude = 0 - convertToDegree(longitude);
|
||||
}
|
||||
|
||||
String decimalCoords = String.valueOf(decLatitude) + "|" + String.valueOf(decLongitude);
|
||||
String decimalCoords = decLatitude + "|" + decLongitude;
|
||||
Timber.d("Latitude and Longitude are %s", decimalCoords);
|
||||
return decimalCoords;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue