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: SergeiTakt/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.
  • 6 commits
  • 6 files changed
  • 1 contributor

Commits on Feb 9, 2024

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

Commits on Feb 13, 2024

  1. fix: исправить ошибки, модернизировать код

    В классе Calculator в методе getDeclensionByNumber(double price), чтобы избежать ошибок при сравнении чисел типа double, привел значение цены к типу int. Чтобы избежать переполнения int, сначала проверил фактическое значение.
    
     Класс KopecksFormatException унаследовал от Exception, чтобы исключение стало проверяемым.
    Sergei committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    f44e5de View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. fix: исправить ошибки, модернизировать код

    В классе Calculator в методе getDeclensionByNumber(double price), чтобы избежать ошибок при сравнении чисел типа double, привел значение цены к типу int. Чтобы избежать переполнения int, сначала проверил фактическое значение.
    
     Класс KopecksFormatException унаследовал от Exception, чтобы исключение стало проверяемым.
    Sergei committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    b88053a View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/dev' into dev

    # Conflicts:
    #	src/main/java/calculator/Calculator.java
    Sergei committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    c1fb09d View commit details
    Browse the repository at this point in the history
  3. fix: исправить ошибки, модернизировать код

    В классе Calculator в методе getDeclensionByNumber(double price), чтобы избежать ошибок при сравнении чисел типа double, привел значения к типу int.
    
     Класс KopecksFormatException унаследовал от Exception, чтобы исключение стало проверяемым.
    Sergei committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    63077f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2d97d0 View commit details
    Browse the repository at this point in the history
Loading