Skip to content

[SpotBugs][pulsar-io]Enable spotbugs for pulsar-io-hdfs2 and pulsar-io-hdfs3#12782

Merged
codelipenghui merged 1 commit intoapache:masterfrom
fxbing:spotbugs
Jan 18, 2022
Merged

[SpotBugs][pulsar-io]Enable spotbugs for pulsar-io-hdfs2 and pulsar-io-hdfs3#12782
codelipenghui merged 1 commit intoapache:masterfrom
fxbing:spotbugs

Conversation

@fxbing
Copy link
Contributor

@fxbing fxbing commented Nov 13, 2021

Master Issue: #8843

Motivation

Enable spotbugs for the pulsar-io module.

Modifications

Enable soptbugs for pulsar-io-hdfs2 and pulsar-io-hdfs3

Verifying this change

mvn clean install -pl pulsar-io/hdfs2
mvn clean install -pl pulsar-io/hdfs3

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link

@fxbing:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
<configuration>
<excludeFilterFile>${basedir}/src/main/resources/findbugsExclude.xml</excludeFilterFile>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems we don't need to set excludeFilterFile since it's empty.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this because I referenced other related pr, such as #8842 and #8903.
Do I need to delete this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jason918 Looking forward to your confirmation and reply.

@Anonymitaet
Copy link
Member

@fxbing seems that this PR does not need to update docs?

P.S. when submitting a PR, can you provide a doc label (tick the box) in the PR template contains info about doc? This helps others know more about the changes. Thanks
Documentation

@github-actions
Copy link

@fxbing:Thanks for providing doc info!

@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Nov 16, 2021
@fxbing
Copy link
Contributor Author

fxbing commented Nov 16, 2021

@Anonymitaet done


-->
<FindBugsFilter>
</FindBugsFilter> No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
</FindBugsFilter>
</FindBugsFilter>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to add new line on file end

@codelipenghui codelipenghui added this to the 2.10.0 milestone Jan 18, 2022
@codelipenghui codelipenghui merged commit 33e7b4b into apache:master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants