Le 3/22/12 6:51 PM, David R Robison a écrit :
The getHexDump function in AbstractIoBuffer is

      /**
       * {@inheritDoc}
       */
      @Override
      public String getHexDump() {
          return this.getHexDump(Integer.MAX_VALUE);
      }

I am wondering if maybe Integer.MAX_VALUE should be changed to
Short.MAX_VALUE to save on heap space. Any thoughts? David

This is just a configuration parameter. It will be used only if the ByteBuffer to dump is bigger than Integer.MAX_VALUE, something that is *very* unlikely to happen...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to