Skip to content

Проверьте, пожалуйста, ДЗ6 - #1

Open
Ekarry wants to merge 1 commit into
masterfrom
HWLesson_6
Open

Проверьте, пожалуйста, ДЗ6#1
Ekarry wants to merge 1 commit into
masterfrom
HWLesson_6

Conversation

@Ekarry

@Ekarry Ekarry commented Jun 3, 2021

Copy link
Copy Markdown
Owner

No description provided.

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


Copy link
Copy Markdown

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);


Copy link
Copy Markdown

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.

2 participants