Skip to content

minesweeper: use StringBuilder #737

Closed

Description

@FridaTveit

In getRowWithNumbers in MinesweeperBoard.java we should use StringBuilder instead of += to append to a string.

It's better to use StringBuilder because it's mutable and therefore doesn't create a new string every time you add to it. See here for a more thorough explanation.

Activity

  1. added a commit that references this issue on Aug 13, 2017
    de5cb61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions