Skip to content

Conversation

@Jason918
Copy link
Contributor

Motivation

Too many indentions in ServerCnx#handleProducer, not good for readability and further developing.

Modifications

Move else part of isAuthorized up front.
Some other minor code style update, no code logical changed.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

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

Need to update docs?

  • no-need-doc
    Just some trivial code rework.

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 17, 2021
@Jason918
Copy link
Contributor Author

For anyone who would like helping review this change, a small reminder of turning on the following switch. :)

image

@Jason918
Copy link
Contributor Author

/pulsarbot run-failure-checks

@congbobo184 congbobo184 merged commit c5a354a into apache:master Nov 17, 2021
zeo1995 pushed a commit to zeo1995/pulsar that referenced this pull request Nov 18, 2021
* up/master:
  Update deploy-bare-metal.md (apache#12432)
  [Broker] Fix producer getting incorrectly removed from topic's producers map (apache#12846)
  Add error log when new jetty client (apache#12840)
  JavaInstanceTest should be AssertEquals (apache#12836)
  [Transaction] Fix transaction flaky test testMaxReadPositionForNormalPublish (apache#12681)
  The problem of two exception handling (apache#12744)
  Fix TopicPoliciesCacheNotInitException issue. (apache#12773)
  Added local filesystem backend for package manager (apache#12708)
  [Java Client] Make userProvidedProducerName final (apache#12849)
  optimize indention in ServerCnx#handleProducer (apache#12854)
dlg99 pushed a commit to dlg99/pulsar that referenced this pull request Nov 23, 2021
### Motivation

Too many indentions in ServerCnx#handleProducer, not good for readability and further developing.

### Modifications

Move else part of isAuthorized up front.
Some other minor code style update, no code logical changed.
eolivelli pushed a commit to eolivelli/pulsar that referenced this pull request Nov 29, 2021
### Motivation

Too many indentions in ServerCnx#handleProducer, not good for readability and further developing.

### Modifications

Move else part of isAuthorized up front.
Some other minor code style update, no code logical changed.
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
### Motivation

Too many indentions in ServerCnx#handleProducer, not good for readability and further developing.

### Modifications

Move else part of isAuthorized up front.
Some other minor code style update, no code logical changed.
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.

2 participants