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

Patterns documentation #52

Merged
merged 4 commits into from
Jun 20, 2021
Merged

Patterns documentation #52

merged 4 commits into from
Jun 20, 2021

Conversation

demoth
Copy link
Owner

@demoth demoth commented Jun 20, 2021

No description provided.

@@ -147,9 +147,9 @@ private static void SV_Configstrings_f(List<String> args, GameImportsImpl gameIm
final String nextCmd;

if (start == Defines.MAX_CONFIGSTRINGS) {
nextCmd = "cmd baselines " + gameImports.spawncount + " 0\n";
nextCmd = "cmd " + StringCmdMessage.BASELINES + " " + gameImports.spawncount + " 0\n";
Copy link
Owner Author

Choose a reason for hiding this comment

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

easier to track usages this way

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not use the string templating?

Suggested change
nextCmd = "cmd " + StringCmdMessage.BASELINES + " " + gameImports.spawncount + " 0\n";
nextCmd = String.format("cmd %s %s 0\n", StringCmdMessage.BASELINES, gameImports.spawncount);

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

Copy link
Owner Author

Choose a reason for hiding this comment

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

missing kotlin strings :(

info/Overview.md Outdated
Although the performance of jake2 is not a problem at the moment (mostly because it uses too little resources),
splitting io and non io operation will improve execution structure.
Introduction of non blocking io can improve resource consumption even more.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This statement needed clarification

Copy link
Owner Author

Choose a reason for hiding this comment

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

fixed

@sonarcloud
Copy link

sonarcloud bot commented Jun 20, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@demoth demoth merged commit e47bffd into main Jun 20, 2021
@demoth demoth deleted the feature/patterns-doc branch July 8, 2021 23:12
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.

2 participants