UPDATE : Code corrected with checkstyle (sun pattern)