Skip to content

Conversation

@Ekarry
Copy link
Owner

@Ekarry Ekarry commented Jun 3, 2021

No description provided.

private static final String SAINT_PETERSBURG_KEY = "295212";
private static final String API_KEY = "NMhWOUAJY8cgKzdgm5fBqcOsGluxsD5T";


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Перестанте ставить столько пустых строк, достаточно одной

String jsonResponse = Objects.requireNonNull(client.newCall(requesthttp).execute().body()).string();
System.out.println(jsonResponse);


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем \n ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants