You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2018/05/22 15:47:06 UTC
mina git commit: Spaces, no tabs
Repository: mina
Updated Branches:
refs/heads/2.0 c7e8e3b31 -> 1b7b36d82
Spaces, no tabs
Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/1b7b36d8
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/1b7b36d8
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/1b7b36d8
Branch: refs/heads/2.0
Commit: 1b7b36d82a35d3642d48d1b94d48ff95bf16b14a
Parents: c7e8e3b
Author: Emmanuel Lécharny <el...@symas.com>
Authored: Tue May 22 17:46:44 2018 +0200
Committer: Emmanuel Lécharny <el...@symas.com>
Committed: Tue May 22 17:46:44 2018 +0200
----------------------------------------------------------------------
.../mina/core/buffer/IoBufferHexDumper.java | 48 ++++++++++----------
1 file changed, 24 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina/blob/1b7b36d8/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
----------------------------------------------------------------------
diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
index d0da09e..59380b1 100644
--- a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
+++ b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
@@ -27,36 +27,36 @@ package org.apache.mina.core.buffer;
*/
class IoBufferHexDumper {
- /**
- * The high digits lookup table.
- */
- private static final byte[] highDigits;
+ /**
+ * The high digits lookup table.
+ */
+ private static final byte[] highDigits;
- /**
- * The low digits lookup table.
- */
- private static final byte[] lowDigits;
+ /**
+ * The low digits lookup table.
+ */
+ private static final byte[] lowDigits;
- /**
- * Initialize lookup tables.
- */
- static {
- final byte[] digits = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
+ /**
+ * Initialize lookup tables.
+ */
+ static {
+ final byte[] digits = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
- int i;
- byte[] high = new byte[256];
- byte[] low = new byte[256];
+ int i;
+ byte[] high = new byte[256];
+ byte[] low = new byte[256];
- for (i = 0; i < 256; i++) {
- high[i] = digits[i >>> 4];
- low[i] = digits[i & 0x0F];
- }
+ for (i = 0; i < 256; i++) {
+ high[i] = digits[i >>> 4];
+ low[i] = digits[i & 0x0F];
+ }
- highDigits = high;
- lowDigits = low;
- }
+ highDigits = high;
+ lowDigits = low;
+ }
- /**
+ /**
* Dumps an {@link IoBuffer} to a hex formatted string.
*
* @param in the buffer to dump