Skip to content

[ pulsar-ci-test] Fix checkstyle bookieRackAffinityMapping error - #13772

Merged
lhotari merged 2 commits into
apache:masterfrom
liudezhi2098:fix_Checkstyle_BookieRackAffinityMapping
Jan 17, 2022
Merged

[ pulsar-ci-test] Fix checkstyle bookieRackAffinityMapping error#13772
lhotari merged 2 commits into
apache:masterfrom
liudezhi2098:fix_Checkstyle_BookieRackAffinityMapping

Conversation

@liudezhi2098

Copy link
Copy Markdown
Contributor

Motivation
fix checkstyle bookieRackAffinityMapping error in pulsar-ci-test (group2)
image

Documentation

  • no-need-doc

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Jan 16, 2022
@liudezhi2098 liudezhi2098 changed the title Fix checkstyle bookieRackAffinityMapping error in pulsar-ci-test [ pulsar-ci-test] Fix checkstyle bookieRackAffinityMapping error Jan 16, 2022
@liudezhi2098

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks


if (bi != null
&& !Strings.isNullOrEmpty(bi.getRack())
&& !com.google.api.client.util.Strings.isNullOrEmpty(bi.getRack())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can use "org.apache.commons.lang3.StringUtils#isEmpty" to avoid this checkstyle issue.

@liudezhi2098

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@gaozhangmin gaozhangmin mentioned this pull request Jan 17, 2022
3 tasks
@liudezhi2098

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

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.

9 participants