code: static char[] obtain(int len) {
          char[] buf;
  
          synchronized (sLock) {
              buf = sTemp;
              sTemp = null;
          }
  
          if (buf == null || buf.length < len)
              buf = new char[ArrayUtils.idealCharArraySize(len)];
  
          return buf;
      }
docs: /* package