Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce warnings during build, in IDE and in GitHub UI #501

Merged
merged 7 commits into from
Dec 3, 2023

Commits on Dec 3, 2023

  1. Suppress unused parameter

    Fixes:
    w: Parameter 'kClass' is never used
    TWiStErRob committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    b6e7d6c View commit details
    Browse the repository at this point in the history
  2. Migrate deprecated method to new alternative. lenient() deprecated in…

    … Mockito 4.6
    
    Fixes:
    'lenient(): MockSettings!' is deprecated. Deprecated in Java
    TWiStErRob committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    a6937ce View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary !! operator.

    spy() always returns an object be it nullable or not.
    
    Fixes:
    w: Unnecessary non-null assertion (!!) on a non-null receiver of type T
    TWiStErRob committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    36b68d9 View commit details
    Browse the repository at this point in the history
  4. Remove unused imports

    TWiStErRob committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    94f39c1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f68291 View commit details
    Browse the repository at this point in the history
  6. Fix spacing issues

    (double-spaces, missing spaces, and new line at end of file)
    TWiStErRob committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    164652a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eecf756 View commit details
    Browse the repository at this point in the history