Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Yandex-Practicum/Java-Module-Project-YP
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: Bjjyx/Java-Module-Project-YP
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    be7516c View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Исправлена ошибка при выводе цены от 5 до 10 рублей.

    Изменена система проверки ввода из консоли.
    Убран общий метод addProduct, на его месте теперь два отдельных метода addProductName и addProductCost.
    В каждом методе теперь свой сканер, связанно это с тем, что общий сканер для всего класса MainMenu выдавал сбои.
    
    Fixed an error when displaying prices from 5 to 10 rubles.
    The system for checking input from the console has been changed.
    The general method addProduct has been separate into two methods addProductName and addProductCost, and removed.
    Each method now has its own scanner, because common scanner can makes errors.
    Bjjyx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    0891f99 View commit details
    Browse the repository at this point in the history
  2. Переработан метод showChequeAndProducts в классе MainMenu. Ошибка в п…

    …адежах слова "рубль" исправлена.
    
    Redesigned method showChequeAndProducts in the MainMenu class. The error in the cases of the word "ruble" has been corrected.
    Bjjyx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    9e59d4f View commit details
    Browse the repository at this point in the history
  3. Добавлен новый метод getRubCase, в который передает слово "рубль" в п…

    …адеже в зависимости от цены. Сделано это для более легкого чтения кода.
    
    A new method getRubCase has been added, which transmits the word "ruble" in the case depending on the price. This is done for easier code reading.
    Bjjyx committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    ec245d1 View commit details
    Browse the repository at this point in the history
Loading