fixet some PMD rule violations in bord.java