Skip to content

Add dev branch - #1

Open
Diblans wants to merge 2 commits into
mainfrom
dev
Open

Diblans wants to merge 2 commits into
mainfrom
dev

Conversation

@Diblans

@Diblans Diblans commented Jan 13, 2023

Copy link
Copy Markdown
Owner

Хрень какую-то сделал

Comment thread src/main/java/Main.java
@@ -1,8 +1,12 @@
import java.util.Scanner;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Этот импорт уже неактуален, его можно удалить. Чтобы студия сама оптимизировала импорт в файле, можно нажать Ctrl+Alt+O, или в студии Code - Optimize Imports



public class Calculator {
private final List<Item> list = new ArrayList<>();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Можно более очевидно назвать переменную, например, products

Comment thread src/main/java/Item.java
@@ -0,0 +1,17 @@
public class Item {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Можно более очевидно назвать, например, Product или Good

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