Skip to content

Проектная работа №1 - #1

Open
personBit wants to merge 1 commit into
devfrom
Calc
Open

personBit wants to merge 1 commit into
devfrom
Calc

Conversation

@personBit

Copy link
Copy Markdown
Owner

Проектная работа №1

Comment thread src/main/java/Main.java

import java.util.ArrayList;
import java.util.Scanner;
import java.util.Locale;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Перед коммитом стоит приводить файлы к правильному стилю и оптимизировать импорты, так как код будут смотреть другие разработчики. В IDEA это легко делать путём вызова горячей комбинации клавиш (она зависит от ОС), её можно посмотреть в меню Code → Optimize Imports

Comment thread src/main/java/Calc.java

items.add(newItem);
}
public void itemAddOut() { // внешний метод для добавления товара

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Можно ещё подумать над более говорящим названием

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