Skip to content

Conversation

eric-lee-ltk
Copy link
Contributor

Signed-off-by: eric-lee-ltk lidagang1@huawei.com

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 86.527% when pulling ce53adb on eric-lee-ltk:fix into 94c0aee on ServiceComb:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 86.534% when pulling ce53adb on eric-lee-ltk:fix into 94c0aee on ServiceComb:master.

Signed-off-by: eric-lee-ltk <lidagang1@huawei.com>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 86.498% when pulling a94cd7b on eric-lee-ltk:fix into 94c0aee on ServiceComb:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 86.527% when pulling a94cd7b on eric-lee-ltk:fix into 94c0aee on ServiceComb:master.


String nameKey = "name";

String qulifiedServiceNameKey = serviceDescriptionKey + "." + nameKey;
Copy link
Member

Choose a reason for hiding this comment

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

It could be better if we use the up case letter to specify the constant string name. Such as QUALIFIED_SERVICE_NAME_KEY can let the user know it's a constant string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems constants in DefinitionConst.java are all in camel case. Besides, there are some duplicate constants in DefinitionConst.java and ServiceCombConstants.java. Maybe another PR for this as it may affect others and this PR is mainly focus on misspell issues?

Copy link
Member

Choose a reason for hiding this comment

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

OK, you can fill a JIRA to check this issue.

@liubao68 liubao68 merged commit 8284ec9 into apache:master Oct 10, 2017
@eric-lee-ltk eric-lee-ltk deleted the fix branch October 10, 2017 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants