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

Replace charset string parameters with constants from StandardCharsets #836

Merged
merged 8 commits into from
Nov 26, 2023

Conversation

venfernand
Copy link
Contributor

Replace charset string parameters with constants from StandardCharsets.

Also remove unused private field with type Random from DatabaseKey class.
Remove some unused methods from tests.

Also remove unused private field with type Random from DatabaseKey class.
Remove some unused methods from tests.


Signed-off-by: Veniamin Fernandes <veniamin.fernandes@proton.me>
src/freenet/crypt/Util.java Show resolved Hide resolved
src/freenet/node/MasterKeys.java Outdated Show resolved Hide resolved
src/freenet/node/updater/MainJarDependenciesChecker.java Outdated Show resolved Hide resolved
src/freenet/support/FileLoggerHook.java Show resolved Hide resolved
src/freenet/support/SimpleFieldSet.java Outdated Show resolved Hide resolved
Also removes stacktrace printout and exception suppression.
This slightly changes behavior, but exceptions are not silenced anymore.
Note:
I changed only places mentioned in the review comments.
Some better and massive tabs-vs-spaces fix is required to solve all other issues.
@venfernand venfernand requested a review from Bombe October 8, 2023 10:37
@venfernand venfernand requested a review from Bombe October 14, 2023 14:30
@ArneBab ArneBab merged commit ba8249c into hyphanet:next Nov 26, 2023
1 check passed
Juiceman pushed a commit to Juiceman/fred that referenced this pull request Feb 8, 2024
Note:
I changed only places mentioned in the review comments.
Some better and massive tabs-vs-spaces fix is required to solve all other issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants