fixed some pmd rule vioalations in board.java
...