gzdwsu / RaiderSMA

Murphy's Wrestling Tournament Manager. Design of Info Tech Sys. Secondary Project.
1 stars 17 forks source link

Optimizing toString() In Match.java #52

Closed JamesKillmonger closed 4 years ago

JamesKillmonger commented 4 years ago

Location: src/DataClasses/Match.java

Lines: 296-303 as of 3/30/2020

Deficiency: Object churning is caused here by the way the string object is being appended to. The rest of the program has fixes in regards to this common problem.

Reason: To be consistent this should also be a StringBuffer. This is important due to the fact this method will most likely be used in the future with further operations therefore the object churning could grow as a result of further functionality being added to this unstable base.

JamesKillmonger commented 4 years ago

I James Walter Wright claim this issue for project 3 as my own.