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

fix: pass DCN_NULLPOINTER_EXCEPTION spotbugs error #8775

Merged
merged 1 commit into from
Feb 16, 2022

Commits on Feb 16, 2022

  1. fix: pass DCN_NULLPOINTER_EXCEPTION spotbugs error

    We have changed our SpotBugs version to 4.5.3 which was causing:
    
    ```
    [ERROR] Medium: Do not catch NullPointerException like in io.confluent.ksql.datagen.DataGen$Arguments$Builder.build() [io.confluent.ksql.datagen.DataGen$Arguments$Builder] At DataGen.java:[line 440] DCN_NULLPOINTER_EXCEPTION
    [INFO]
    ```
    
    This change is SpotBugs compliant way of doing the same thing
    - explicit null checks, rather than delegating to a method
    that checks for null and throws NPE
    swist committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    ed63b14 View commit details
    Browse the repository at this point in the history