Reduce line padding.

This commit is contained in:
Peter Lawrey
2015-09-11 15:26:02 +01:00
parent 2839bde340
commit 8a816054d3
53 changed files with 384 additions and 740 deletions
@@ -42,17 +42,14 @@ public class ByteBufferConverter implements Converter {
marshallingContext.convertAnother(buffer.position());
writer.endNode();
writer.startNode("capacity");
marshallingContext.convertAnother(buffer.capacity());
writer.endNode();
writer.startNode("limit");
marshallingContext.convertAnother(buffer.limit());
writer.endNode();
writer.startNode("isDirect");
marshallingContext.convertAnother(buffer.isDirect());
writer.endNode();
@@ -74,7 +71,6 @@ public class ByteBufferConverter implements Converter {
throw new ConversionException("", e);
}
writer.endNode();
buffer.limit(limit);
@@ -88,7 +84,6 @@ public class ByteBufferConverter implements Converter {
int position = (Integer) unmarshallingContext.convertAnother(null, int.class);
reader.moveUp();
reader.moveDown();
int capacity = (Integer) unmarshallingContext.convertAnother(null, int.class);
reader.moveUp();