-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Kept the original constructor for PluginInfo to maintain bwc #1206
Conversation
✅ Gradle Wrapper Validation success 266b2c345385bfb19fc6ff61e813f75e43da310b |
✅ DCO Check Passed 266b2c345385bfb19fc6ff61e813f75e43da310b |
✅ Gradle Precommit success 266b2c345385bfb19fc6ff61e813f75e43da310b |
private final List<String> extendedPlugins; | ||
private final boolean hasNativeController; | ||
private String customFolderName; |
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.
Why is this changing? Constructor should default it to null.
* @param extendedPlugins other plugins this plugin extends through SPI | ||
* @param hasNativeController whether or not the plugin has a native controller | ||
*/ | ||
public PluginInfo(String name, String description, String version, Version opensearchVersion, String javaVersion, |
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.
Can we write this constructor in terms of the other one?
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.
Makes sense! Updated it.
Signed-off-by: Vacha <vachshah@amazon.com>
266b2c3
to
d732b29
Compare
✅ Gradle Wrapper Validation success d732b29 |
✅ DCO Check Passed d732b29 |
✅ Gradle Precommit success d732b29 |
start gradle check |
…rch-project#1206) Signed-off-by: Vacha <vachshah@amazon.com>
Signed-off-by: Vacha vachshah@amazon.com
Description
Keeping the original constructor for PluginInfo which was changed in PR #848 to add a new parameter. Restoring the original one so that if anything depends on it, it does not break.
Issues Resolved
#1190
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.