[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r1154 - /projects/zb4osgi/trunk/zigbee.common/src/test/java/it/cnr/isti/primitivetypes/util/IntegersTest.java
scm-notify at zb4osgi.aaloa.org
scm-notify at zb4osgi.aaloa.org
Thu Jan 15 18:17:12 CET 2015
Author: giancarlo.riolo
Date: Thu Jan 15 18:17:11 2015
New Revision: 1154
Log:
refs #262 . Reverted a 4 byte readLong used for debug purpouses in test with appropriate ReadInt
Modified:
projects/zb4osgi/trunk/zigbee.common/src/test/java/it/cnr/isti/primitivetypes/util/IntegersTest.java
Modified: projects/zb4osgi/trunk/zigbee.common/src/test/java/it/cnr/isti/primitivetypes/util/IntegersTest.java
==============================================================================
--- projects/zb4osgi/trunk/zigbee.common/src/test/java/it/cnr/isti/primitivetypes/util/IntegersTest.java (original)
+++ projects/zb4osgi/trunk/zigbee.common/src/test/java/it/cnr/isti/primitivetypes/util/IntegersTest.java Thu Jan 15 18:17:11 2015
@@ -491,7 +491,7 @@
byte readByte = Integers.readByte(byteRepresentation, 0);
short readShort = Integers.readShort(shortRepresentation, 0);
int readInt24bit = Integers.readInt24bit(int24Representation, 0);
- int readInt = (int) Integers.readLong(intRepresentation, 0, 4);
+ int readInt = Integers.readInt(intRepresentation, 0);
long read40Long = Integers.readLong(long40Representation, 0, 5);
long read48Long = Integers.readLong(long48Representation, 0, 6);
long read56Long = Integers.readLong(long56Representation, 0, 7);
More information about the Commit
mailing list