-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Refactoring in grizzly-config: removed dead code #25058
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- we don't use JSSESupport instances and we don't support Java 1.2 for years. Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Shortened the inheritance to GlassfishServerSocketFactory Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- We don't have any other implementation Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Deleted also javadoc bloc probably copy pasted from some obsoleted JDK Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Also done small improvements in the code ie the attributes map had always just string values. - The DefaultServerSocketFactory is a part of JDK, we don't use it. Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
… create() - Now it makes sense, the original impl moved to the SSLConfigurator mostly, and from some point GF required to create just the SSLContext Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
requested review from
arjantijms,
pzygielo,
hs536,
avpinchuk and
kaido207
July 22, 2024 22:48
avpinchuk
reviewed
Jul 23, 2024
nucleus/grizzly/config/src/main/java/org/glassfish/grizzly/config/ssl/JSSEFactory.java
Outdated
Show resolved
Hide resolved
nucleus/grizzly/config/src/main/java/org/glassfish/grizzly/config/ssl/SSLContextFactory.java
Outdated
Show resolved
Hide resolved
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Redundant piece in the hierarchy of calls Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
avpinchuk
reviewed
Jul 23, 2024
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.
A few more minor bugs
nucleus/grizzly/config/src/main/java/org/glassfish/grizzly/config/ConfigAwareElement.java
Outdated
Show resolved
Hide resolved
nucleus/grizzly/config/src/main/java/org/glassfish/grizzly/config/SSLConfigurator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
avpinchuk
approved these changes
Jul 23, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SSLConfigurator
. The unused code remained in the SVN at those times and we inherited it.