Closed DArtagnant closed 4 months ago
Like this code, the indentation is not correct.
The correct one is :
public String getItemString() { if (this.aInventory.isEmpty()){ return "Il n'y a point d'objets intéressants à l'horizon."; } }
Originally posted by @blastegit in https://github.com/DArtagnant/blueJ-code-highlighter/issues/12#issuecomment-2153089405
temporary solution: add a blank line between the function declaration and the if
if
Like this code, the indentation is not correct.
The correct one is :
Originally posted by @blastegit in https://github.com/DArtagnant/blueJ-code-highlighter/issues/12#issuecomment-2153089405