projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Complete documentation.
[jSite2.git]
/
src
/
net
/
pterodactylus
/
util
/
number
/
Hex.java
diff --git
a/src/net/pterodactylus/util/number/Hex.java
b/src/net/pterodactylus/util/number/Hex.java
index
f92a31a
..
de7929e
100644
(file)
--- a/
src/net/pterodactylus/util/number/Hex.java
+++ b/
src/net/pterodactylus/util/number/Hex.java
@@
-68,6
+68,8
@@
public class Hex {
* The hexadecimal representation to decode
* @return The decoded byte array
* @see Integer#parseInt(java.lang.String, int)
* The hexadecimal representation to decode
* @return The decoded byte array
* @see Integer#parseInt(java.lang.String, int)
+ * @throw NumberFormatException if the given string is not the hexadecimal
+ * representation of a byte array
*/
public static byte[] toByte(String hexString) {
if ((hexString.length() & 0x01) == 0x01) {
*/
public static byte[] toByte(String hexString) {
if ((hexString.length() & 0x01) == 0x01) {