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

issue # 49 Rename and possibly move static method for determining local ephemeral address #85

Merged
merged 5 commits into from
Aug 12, 2022

Conversation

mloufra
Copy link
Contributor

@mloufra mloufra commented Aug 11, 2022

Signed-off-by: mloufra mloufra@amazon.com

Description

The ActionListener class has a protected static method getLocalEphemeral().

Subclasses can't access static method so protected access is inappropriate. Consider making private if only this class will use it. Consider refactoring to another class if it's going to be used by other classes
As it's not a field accessor, get*() is not the best name. Consider createLocalEphemeralAddress().

Issues Resolved

#49

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.

Signed-off-by: mloufra <mloufra@amazon.com>
Signed-off-by: mloufra <mloufra@amazon.com>
Signed-off-by: mloufra <mloufra@amazon.com>
Signed-off-by: mloufra <mloufra@amazon.com>
@@ -248,7 +248,11 @@ public void startTransportService(TransportService transportService) {
false,
false,
InitializeExtensionsRequest::new,
<<<<<<< HEAD
Copy link
Member

Choose a reason for hiding this comment

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

Seems like you missed a merge conflict

Signed-off-by: mloufra <mloufra@amazon.com>
@mloufra mloufra requested a review from joshpalis August 11, 2022 18:36
Copy link
Member

@joshpalis joshpalis left a comment

Choose a reason for hiding this comment

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

LGTM!

@owaiskazi19 owaiskazi19 merged commit bdd4641 into opensearch-project:main Aug 12, 2022
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
…al ephemeral address (opensearch-project#85)

* issue opensearch-project#28

Signed-off-by: mloufra <mloufra@amazon.com>

* Update the lastest coomit

Signed-off-by: mloufra <mloufra@amazon.com>

* Rename the method getLocalEphemeral to createLocalEphemeralAddress

Signed-off-by: mloufra <mloufra@amazon.com>

* Change access modifier

Signed-off-by: mloufra <mloufra@amazon.com>

Signed-off-by: mloufra <mloufra@amazon.com>
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.

None yet

3 participants