Skip to content

Commit 8f4a512

Browse files
committed
Remove unnecessary cast from long to long.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@491359 13f79535-47bb-0310-9956-ffa450edef68
1 parent f67327e commit 8f4a512

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/io/EndianUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public static long readSwappedLong(byte[] data, int offset) {
224224
( ( data[ offset + 5 ] & 0xff ) << 8 ) +
225225
( ( data[ offset + 6 ] & 0xff ) << 16 ) +
226226
( ( data[ offset + 7 ] & 0xff ) << 24 );
227-
return ((long) high << 32) + (0xffffffffL & low);
227+
return (high << 32) + (0xffffffffL & low);
228228
}
229229

230230
/**

0 commit comments

Comments
 (0)