private static char[] createCharArray(final char c,final int count){
  if (count <= 0) {
    return new char[0];
  }
  final char[] result=new char[count];
  Arrays.fill(result,0,result.length,c);
  return result;
}

private static char [ ] createCharArray ( final char c , final int count ) { if ( count <= 0 ) { return new char [ 0 ] ; } final char [ ] result = new char [ count ] ; Arrays . fill ( result , 0 , result . length , c ) ; return result ; }
used by fix above
