mirror of
https://github.com/Prominence/openweathermap-java-api.git
synced 2026-01-09 19:46:41 +03:00
Removed redundant String initialization.
This commit is contained in:
parent
a9ce72ba41
commit
038c62ad14
@ -35,7 +35,7 @@ public class JsonUtils {
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
||||
|
||||
StringBuffer result = new StringBuffer();
|
||||
String line = "";
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
result.append(line);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user