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

[MENFORCER-459] Avoid NullPointerException where there is no plugins #193

Merged
merged 3 commits into from
Jan 10, 2023

Commits on Nov 22, 2022

  1. Avoid NullPointerException where there is no plugins

    Exceptions shouldn't be used for non-exceptional flow.
    Also it's considered bad practice to return null from a method which returns collection.
    Andrey Turbanov committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    b1b24af View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Merge remote-tracking branch 'origin/master' into avoid_NPE_PluginWra…

    …pper
    
    # Conflicts:
    #	enforcer-rules/src/main/java/org/apache/maven/enforcer/rules/utils/PluginWrapper.java
    Andrey Turbanov committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    200f788 View commit details
    Browse the repository at this point in the history
  2. [MENFORCER-459] Plugin shouldn't use NullPointerException for non-exc…

    …eptional code flow
    Andrey Turbanov committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    3763ac8 View commit details
    Browse the repository at this point in the history