fix bug in CheckCodeFormat.java

fix bug in CheckCodeFormat.java