summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-28 02:07:14 (EDT)
committerEike Stepper2007-08-28 02:07:14 (EDT)
commit9d08d6d6d3de01045f7f210d67561f587545ec26 (patch)
tree212b70f847aa7557e9771ce1972838bcd8fa8181
parenta9168048610c836e30a721c1eb147b28bc38f3f6 (diff)
downloadcdo-9d08d6d6d3de01045f7f210d67561f587545ec26.zip
cdo-9d08d6d6d3de01045f7f210d67561f587545ec26.tar.gz
cdo-9d08d6d6d3de01045f7f210d67561f587545ec26.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java2
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java2
-rw-r--r--plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
index 26a3559..02c1e38 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
@@ -47,7 +47,7 @@ public class XORInputStream extends FilterInputStream
index = 0;
}
- b = b & 0xff ^ key[index++] & 0xff;
+ b = b & 0xFF ^ key[index++] & 0xFF;
}
}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
index ca3c8b1..bb2f233 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
@@ -44,7 +44,7 @@ public class XOROutputStream extends FilterOutputStream
index = 0;
}
- b = b & 0xff ^ key[index++] & 0xff;
+ b = b & 0xFF ^ key[index++] & 0xFF;
}
super.write(b);
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
index 1254e53..81fa7c3 100644
--- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
+++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
@@ -67,7 +67,7 @@ public class BufferInputStream extends InputStream implements IBufferHandler
return -1;
}
- final int result = currentBuffer.getByteBuffer().get() & 0xff;
+ final int result = currentBuffer.getByteBuffer().get() & 0xFF;
if (TRACER.isEnabled())
{
TRACER.trace("<-- " + HexUtil.formatByte(result) //$NON-NLS-1$