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

Fix Reflections' WARN log when jsonDir doesn't exist. #184

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

jongyeol
Copy link
Contributor

@jongyeol jongyeol commented May 31, 2016

Motivation:

When com.linecorp.armeria.thrift.jsonDir doesn't exist, WARN log will occured.
12:04:57.463 [WARN ](o.r.Reflections) [main] given scan urls are empty. set urls in the configuration

Modifications:

Check jsonDir before scan.

Result:

DocService will not warn when jsonDir doesn't exist.

Motivation:

When com.linecorp.armeria.thrift.jsonDir doesn't exist, WARN log will occured.
12:04:57.463 [WARN ](o.r.Reflections) [main] given scan urls are empty. set urls in the configuration

Modifications:

Check jsonDir before scan.

Result:

DocService will not warn when jsonDir doesn't exist.
@trustin trustin added this to the 0.19.1.Final milestone Jun 1, 2016
@trustin trustin added the defect label Jun 1, 2016
@trustin trustin merged commit d6ed257 into line:master Jun 1, 2016
@jongyeol jongyeol deleted the feature/fix-docservice-warn branch June 1, 2016 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants