-
Notifications
You must be signed in to change notification settings - Fork 766
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
Extract SettingsHelper from SearchHelper #3130
Conversation
Pull Request Test Coverage Report for Build 5120
💛 - Coveralls |
} | ||
|
||
String k = projectName != null ? projectName : ""; | ||
return mappedAnalysisSettings.get(k); |
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.
k is not very descriptive
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.
Revised
*/ | ||
public Map<String, IndexedSymlink> getSymlinks(String projectName) { | ||
if (mappedIndexedSymlinks == null) { | ||
throw new IllegalStateException("getSettings() not yet called"); |
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.
is it problem to call it here getSettings()
?
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.
No doesn't seem so
lgtm, merging |
Thank you for the reviews, @ktulinger and @tarzanek |
Hello,
Please consider for integration this patch to extract
SettingsHelper
fromSearchHelper
. This is from open PR #2732 and is a pre-requisite to a number of ready features, including search context and directory #LinesLOC.Thank you.