Open nricci opened 8 years ago
Change the names of the fields in class MinesweeperCell to ´isX´. The convention in Java for boolean queries is to name them like isX where X is some boolean property (e.g. isEmpty() in for lists and other containers)
isX
X
3ebca6da625c0be63ecad0b744bcd9ee93d36a39
@jortolano: I suggest changing it to isBlocked, hasMine and isOpen
isBlocked
hasMine
isOpen
Change the names of the fields in class MinesweeperCell to ´isX´. The convention in Java for boolean queries is to name them like
isX
whereX
is some boolean property (e.g. isEmpty() in for lists and other containers)