Skip to content

Commit e205fb9

Browse files
committed
Javadoc
1 parent c7e53f7 commit e205fb9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* (e.g. Motorola 680X0), the situation is reversed.
3636
* Most methods and classes throughout Java — e.g. {@code DataInputStream} and
3737
* {@code Double.longBitsToDouble()} — assume data is laid out
38-
* in big endian order with the most significant byte first.
38+
* in big-endian order with the most significant byte first.
3939
* The methods in this class read and write data in little-endian order,
4040
* generally by reversing the bytes and then using the
4141
* regular Java methods to convert the swapped bytes to a primitive type.
@@ -257,7 +257,7 @@ public static int readSwappedUnsignedShort(final InputStream input) throws IOExc
257257
}
258258

259259
/**
260-
* Converts a {@code double} value from big endian to little-endian
260+
* Converts a {@code double} value from big-endian to little-endian
261261
* and vice versa. That is, it converts the {@code double} to bytes,
262262
* reverses the bytes, and then reinterprets those bytes as a new {@code double}.
263263
* This can be useful if you have a number that was read from the
@@ -271,7 +271,7 @@ public static double swapDouble(final double value) {
271271
}
272272

273273
/**
274-
* Converts a {@code float} value from big endian to little-endian and vice versa.
274+
* Converts a {@code float} value from big-endian to little-endian and vice versa.
275275
*
276276
* @param value value to convert
277277
* @return the converted value
@@ -281,7 +281,7 @@ public static float swapFloat(final float value) {
281281
}
282282

283283
/**
284-
* Converts an {@code int} value from big endian to little-endian and vice versa.
284+
* Converts an {@code int} value from big-endian to little-endian and vice versa.
285285
*
286286
* @param value value to convert
287287
* @return the converted value
@@ -295,7 +295,7 @@ public static int swapInteger(final int value) {
295295
}
296296

297297
/**
298-
* Converts a {@code long} value from big endian to little-endian and vice versa.
298+
* Converts a {@code long} value from big-endian to little-endian and vice versa.
299299
*
300300
* @param value value to convert
301301
* @return the converted value
@@ -313,7 +313,7 @@ public static long swapLong(final long value) {
313313
}
314314

315315
/**
316-
* Converts a {@code short} value from big endian to little-endian and vice versa.
316+
* Converts a {@code short} value from big-endian to little-endian and vice versa.
317317
*
318318
* @param value value to convert
319319
* @return the converted value

0 commit comments

Comments
 (0)