### Question:
TemporaryBuffers { public static char[] chars(int len) { char[] buffer = CHAR_ARRAY.get(); if (buffer == null) { buffer = new char[len]; CHAR_ARRAY.set(buffer); } else if (buffer.length < len) { buffer = new char[len]; CHAR_ARRAY.set(buffer); } return buffer; } private  TemporaryBuffers(); static char[] chars(int len);  }### Answer:
@Test void chars() { TemporaryBuffers.clearChars(); char[] buffer10 = TemporaryBuffers.chars(10); assertThat(buffer10).hasSize(10); char[] buffer8 = TemporaryBuffers.chars(8); assertThat(buffer8).isSameAs(buffer10); char[] buffer20 = TemporaryBuffers.chars(20); assertThat(buffer20).hasSize(20); }