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

优化 FileTypeEnum 取值逻辑, 避免使用异常当作逻辑分支 #4607

Merged
merged 4 commits into from
Dec 31, 2020

Conversation

wjm0729
Copy link
Contributor

@wjm0729 wjm0729 commented Dec 30, 2020

异常的代价是很大的, 非必要情况下. 应该尽量避免

异常的代价是很大的, 非必要情况下. 应该尽量避免
KomachiSion
KomachiSion previously approved these changes Dec 31, 2020
@KomachiSion
Copy link
Collaborator

Please fix the CI problem. I see there are checkstyle problem. Please use nacos code style in source/style

@KeRan213539
Copy link
Collaborator

解决下CI问题

@wjm0729
Copy link
Contributor Author

wjm0729 commented Dec 31, 2020

好了, sorry

@KeRan213539
Copy link
Collaborator

好了, sorry

mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
mvn clean install -Pcit-test
mvn clean package -Pit-test

PR前可以先本地跑下这4个命令, 主要是第一个. 第一个过了格式上基本就没问题了

@wjm0729
Copy link
Contributor Author

wjm0729 commented Dec 31, 2020

好的, 谢谢

@KeRan213539 KeRan213539 merged commit 4da3c82 into alibaba:develop Dec 31, 2020
wjm0729 added a commit to wjm0729/nacos that referenced this pull request Dec 31, 2020
…op-import-v2

* 'develop' of https://github.com/alibaba/nacos:
  优化 FileTypeEnum 取值逻辑, 避免使用异常当作逻辑分支 (alibaba#4607)
  for alibaba#4594,alibaba#4594 Fix IO close problem. (alibaba#4606)
  console-ui config排序优化 (alibaba#4599)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants