-
Notifications
You must be signed in to change notification settings - Fork 306
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
FISH-9771 FISH-9688 spot bugs random only used once #6967
Merged
jGauravGupta
merged 8 commits into
payara:main
from
NotedSalmon:FISH-9771-spot-bugs-random-only-used-once
Sep 30, 2024
Merged
FISH-9771 FISH-9688 spot bugs random only used once #6967
jGauravGupta
merged 8 commits into
payara:main
from
NotedSalmon:FISH-9771-spot-bugs-random-only-used-once
Sep 30, 2024
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
before it was created twice.
nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
Outdated
Show resolved
Hide resolved
.../cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ImportSyncBundleCommand.java
Outdated
Show resolved
Hide resolved
…e class instead of the interface.
aubi
approved these changes
Sep 24, 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.
LGTM
nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
Outdated
Show resolved
Hide resolved
nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
Outdated
Show resolved
Hide resolved
nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
Outdated
Show resolved
Hide resolved
.../cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ImportSyncBundleCommand.java
Outdated
Show resolved
Hide resolved
pzygielo
reviewed
Sep 24, 2024
nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
Outdated
Show resolved
Hide resolved
NotedSalmon
changed the title
FISH-9771 spot bugs random only used once
FISH-9771 FISH-9688 spot bugs random only used once
Sep 25, 2024
By moving the SecureRandom to outside the previous method, I am able to use the random created in the other classes such as cluster and the command.
aubi
approved these changes
Sep 26, 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.
LGTM
NotedSalmon
force-pushed
the
FISH-9771-spot-bugs-random-only-used-once
branch
2 times, most recently
from
September 26, 2024 16:17
b374934
to
2e9aae7
Compare
NotedSalmon
force-pushed
the
FISH-9771-spot-bugs-random-only-used-once
branch
from
September 26, 2024 16:21
2e9aae7
to
7300fe7
Compare
nucleus/common/common-util/src/main/java/org/glassfish/common/util/RandomUtils.java
Outdated
Show resolved
Hide resolved
jGauravGupta
requested changes
Sep 30, 2024
...us/common/common-util/src/main/java/com/sun/enterprise/universal/security/SecurityUtils.java
Show resolved
Hide resolved
jGauravGupta
approved these changes
Sep 30, 2024
Pandrex247
pushed a commit
to Pandrex247/Payara
that referenced
this pull request
Oct 10, 2024
…andom-only-used-once FISH-9771 FISH-9688 spot bugs random only used once
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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.
Used
SecurityUtils
to generate a random and use it within the respective classes. Spot bugs issue. (check description)Description
Spotbugs warning:
Important Info
Blockers
Testing
New tests
Testing Performed
built payara and ran spotbugs against the changes made.
Testing Environment
Documentation
Notes for Reviewers