Source:
<code>public CompositeRangeBuilder buildRange() { return new CompositeRangeBuilder() { private int position = 0; public void nextComponent() { position++; } public void append(ByteBufferOutputStream out, Object value, Equality equality) { ComponentSerializer<?> serializer = components.get(position); ByteBuffer cb; try { cb = serializer.serializeValue(value); } catch (Exception e) { throw new RuntimeException(e); } if (cb == null) { cb = EMPTY_BYTE_BUFFER; } out.writeShort((short) cb.remaining()); out.write(cb.slice()); out.write(equality.toByte()); } @Override public ByteBufferRange build() { if ((!gtcalled || !ltcalled) && position < (components.size())) { <START> LOG.info("Adding a full range scan beyond the previous component of the composite"); <END> ComponentSerializer<?> serializer = components.get(position); Field f = serializer.getField(); Class<?> type = f.getType(); if (type.getName().equals("java.lang.Integer")) { if (!ltcalled) super.lessThanEquals(Integer.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Integer.MIN_VALUE); } else if (type.getName().equals("java.lang.String")) { if (!ltcalled) super.lessThanEquals("~"); if (!gtcalled) super.greaterThanEquals(null); } else if (type.getName().equals("boolean")){ if (!gtcalled) super.greaterThanEquals(Boolean.FALSE); if (!ltcalled) super.lessThanEquals(Boolean.TRUE); } else if (type.getName().equals("java.lang.Long")) { if (!ltcalled) super.lessThanEquals(Long.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Long.MIN_VALUE); } else if (type.getName().equals("java.lang.Short")) { if (!ltcalled) super.lessThanEquals(Short.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Short.MIN_VALUE); } else if (type.getName().equals("java.lang.String")) { if (!ltcalled) super.lessThanEquals(Byte.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Byte.MIN_VALUE); } } return super.build(); } }; }</code><technical_language>Remove LOG.debug. This verbose</technical_language>

Target:
public CompositeRangeBuilder buildRange() { return new CompositeRangeBuilder() { private int position = 0; public void nextComponent() { position++; } public void append(ByteBufferOutputStream out, Object value, Equality equality) { ComponentSerializer<?> serializer = components.get(position); ByteBuffer cb; try { cb = serializer.serializeValue(value); } catch (Exception e) { throw new RuntimeException(e); } if (cb == null) { cb = EMPTY_BYTE_BUFFER; } out.writeShort((short) cb.remaining()); out.write(cb.slice()); out.write(equality.toByte()); } @Override public ByteBufferRange build() { if ((!gtcalled || !ltcalled) && position < (components.size())) { LOG.debug("Adding a full range scan beyond the previous component of the composite"); ComponentSerializer<?> serializer = components.get(position); Field f = serializer.getField(); Class<?> type = f.getType(); if (type.getName().equals("java.lang.Integer")) { if (!ltcalled) super.lessThanEquals(Integer.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Integer.MIN_VALUE); } else if (type.getName().equals("java.lang.String")) { if (!ltcalled) super.lessThanEquals("~"); if (!gtcalled) super.greaterThanEquals(null); } else if (type.getName().equals("boolean")){ if (!gtcalled) super.greaterThanEquals(Boolean.FALSE); if (!ltcalled) super.lessThanEquals(Boolean.TRUE); } else if (type.getName().equals("java.lang.Long")) { if (!ltcalled) super.lessThanEquals(Long.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Long.MIN_VALUE); } else if (type.getName().equals("java.lang.Short")) { if (!ltcalled) super.lessThanEquals(Short.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Short.MIN_VALUE); } else if (type.getName().equals("java.lang.String")) { if (!ltcalled) super.lessThanEquals(Byte.MAX_VALUE); if (!gtcalled) super.greaterThanEquals(Byte.MIN_VALUE); } } return super.build(); } }; }