bug/Operators must be preceded and followed by a whitespace.
Closed this issue · 1 comments
Therealyassinetama commented
Bug location / Bug locatie
StyleChecker
Bug description / Bug beschrijving
Style checker geeft aan geen whitespace voor of na de = operator te zien. Terwijl dit wel het geval is.
Steps to reproduce / Stappen om te reproduceren
type in in je code:
if (queue.size() <= 0)
Expected behavior / Verwacht gedrag
dat het niet faalt
Actual behavior / Werkelijk gedrag
het faalt
Additional information / Aanvullende informatie
No response
Contributing / Bijdragen
Yes / Ja
TomVer99 commented
I see the error was this line specifically:
if (queue.size() <= 0) //bad?
Try changing it to:
if (queue.size() <= 0) // bad?
(Changed the space before the //)