-
Notifications
You must be signed in to change notification settings - Fork 17
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
HH-76991 remove jdebug dependency, rename properties file #82
Conversation
return subProperties; | ||
} | ||
|
||
public FileSettings getSubSettings(String prefix) { | ||
return new FileSettings(getSubProperties(prefix)); | ||
} | ||
|
||
public List<String> getStringList(String key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для совместимости с hh.ru
@@ -31,20 +34,31 @@ public Boolean getBoolean(String key) { | |||
} | |||
|
|||
public Properties getSubProperties(String prefix) { | |||
final String namespacePrefix = Strings.isNullOrEmpty(prefix) ? "" : prefix + "."; | |||
if (Strings.isNullOrEmpty(prefix)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
мне кажется можно обычный assert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Заиспользовал спринговый Assert.hasLength
.
@@ -186,12 +180,6 @@ | |||
</exclusions> | |||
</dependency> | |||
|
|||
<dependency> | |||
<groupId>ru.hh</groupId> | |||
<artifactId>timings</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Пока не используются.
Схлопнул коммиты. |
Довыпил использование guava из nab-hibernate и nab-testbase. |
Обновил README. |
settings.properties
вservice.properties
.FileSettings
.https://jira.hh.ru/browse/HH-76991