Skip to content

Conversation

@s-groshev
Copy link

Сам запутался по какому заданию сегодня звонили, по тестировщику или java-стажеру. Думаю по второму

Copy link

@Nikola-Hrestofor Nikola-Hrestofor left a comment

Choose a reason for hiding this comment

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

Посмотри другие работы с использование Spring, можно сильно упростить
Например вот, хорошая работа https://github.com/Charmink/cib-interns-test-task


import org.json.simple.JSONObject;

public class Socks {

Choose a reason for hiding this comment

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

если добавить Lombok, то все сеттеры, гетеры, и прочее он сделает за тебя

}
return false;
}
public int get(String color,String operation, Long cottonPart){

Choose a reason for hiding this comment

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

operation можно вынести в enum, будет меньше ошибок

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