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

refactoring #114

Merged
merged 3 commits into from
Dec 1, 2023
Merged

refactoring #114

merged 3 commits into from
Dec 1, 2023

Conversation

mykolaFilimonov
Copy link
Contributor

No description provided.

@mykolaFilimonov mykolaFilimonov merged commit 93ac410 into develop Dec 1, 2023
2 checks passed
@mykolaFilimonov mykolaFilimonov deleted the base-refactoring branch December 1, 2023 21:18
* Implementation of the {@link ObjectFactory} as Bring beans container. Creates and holds all found
* and registered beans.
* Implementation of the {@link ObjectFactory} as Bring beans container. Creates and holds all
* founded and registered beans.
Copy link
Contributor

Choose a reason for hiding this comment

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

‘Found’ is a second form, -ed redundant

@@ -74,7 +75,8 @@ public static BringContainer run(Class<?> configClass) {

TomcatServer.run(container);
log.info("BringContainer initialized successfully.");
log.debug("All created beans:%n%s".formatted(container.storageByName.keySet().stream().reduce("", (s1,s2) -> s1 + System.lineSeparator() + s2)));
log.debug("All created beans:%n%s".formatted(container.storageByName.keySet().stream()
Copy link
Contributor

Choose a reason for hiding this comment

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

It’s better to use {} for logger instead of string formatting

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.

4 participants