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

Mod: Remove unnecessary return and judgement. #730

Merged

Conversation

atlas-comstock
Copy link
Contributor

@atlas-comstock atlas-comstock commented Aug 27, 2020

What this PR does: Sharp the code.

Which issue(s) this PR fixes: Readable code.

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


common/rpc_service.go Outdated Show resolved Hide resolved
config/base_config.go Outdated Show resolved Hide resolved
config/reference_config.go Outdated Show resolved Hide resolved
registry/protocol/protocol.go Outdated Show resolved Hide resolved
remoting/zookeeper/curator_discovery/service_discovery.go Outdated Show resolved Hide resolved
Copy link
Member

@zouyx zouyx left a comment

Choose a reason for hiding this comment

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

I think more improve as below

@atlas-comstock atlas-comstock changed the title chore: Remove unnecessary return and judgement. Mod: Remove unnecessary return and judgement. Aug 28, 2020
@atlas-comstock atlas-comstock changed the base branch from master to develop August 28, 2020 02:42
@atlas-comstock atlas-comstock force-pushed the remove-unnecessary-statement branch from b327fd2 to e1a0284 Compare August 28, 2020 02:44
@atlas-comstock
Copy link
Contributor Author

@zouyx hi, about the travis error, it is strange that my commit base on develop branch will pass( it was based on master branch before). Is it the reason why it reported error?

@zouyx
Copy link
Member

zouyx commented Aug 29, 2020

@zouyx hi, about the travis error, it is strange that my commit base on develop branch will pass( it was based on master branch before). Is it the reason why it reported error?

Maybe.........

config/base_config.go Outdated Show resolved Hide resolved
config/reference_config.go Outdated Show resolved Hide resolved
filter/filter_impl/access_log_filter.go Outdated Show resolved Hide resolved
protocol/rest/rest_exporter.go Outdated Show resolved Hide resolved
remoting/zookeeper/curator_discovery/service_discovery.go Outdated Show resolved Hide resolved
registry/protocol/protocol.go Outdated Show resolved Hide resolved
@atlas-comstock atlas-comstock force-pushed the remove-unnecessary-statement branch from e1a0284 to 255317c Compare August 29, 2020 04:49
@atlas-comstock atlas-comstock force-pushed the remove-unnecessary-statement branch from 255317c to 7e4e7fd Compare August 29, 2020 04:51
@zouyx zouyx added this to the 1.5.2 milestone Aug 30, 2020
@zouyx zouyx added enhancement New feature or request improve Refactor or improve and removed enhancement New feature or request labels Aug 30, 2020
@AlexStocks AlexStocks merged commit 4c483e0 into apache:develop Aug 31, 2020
zouyx added a commit to zouyx/dubbo-go that referenced this pull request Sep 22, 2020
…ment

Mod: Remove unnecessary return and judgement.
# Conflicts:
#	cluster/router/tag/tag_router.go
AlexStocks pushed a commit that referenced this pull request Apr 14, 2021
Mod: Remove unnecessary return and judgement.
# Conflicts:
#	cluster/router/tag/tag_router.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve Refactor or improve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants