From 3466044eaab9bf22a35d4ae19446ceeba06271fb Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sun, 11 May 2014 12:07:50 -0400 Subject: [PATCH] camelCase --- src/capnp/WirePointer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/capnp/WirePointer.java b/src/capnp/WirePointer.java index fab1af2..95f007e 100644 --- a/src/capnp/WirePointer.java +++ b/src/capnp/WirePointer.java @@ -25,20 +25,20 @@ class WirePointer { return this.buffer.getLong(this.buffer_offset * 8) == 0; } - public int offset_and_kind() { + public int offsetAndKind() { return this.buffer.getInt(this.buffer_offset * 8); } public byte kind() { - return (byte) (this.offset_and_kind() & 3); + return (byte) (this.offsetAndKind() & 3); } public WordPointer target() { return new WordPointer(buffer, - this.buffer_offset + 1 + (this.offset_and_kind() >> 2)); + this.buffer_offset + 1 + (this.offsetAndKind() >> 2)); } public int inlineCompositeListElementCount() { - return this.offset_and_kind() >> 2; + return this.offsetAndKind() >> 2; } }