GUACAMOLE-1298: Migrate to centralized declarations of common dependencies.
This commit is contained in:
1 parent
d4e3d8c98f
commit
53fe6e34f8
35 files changed
+306
-127
No files matched your search
@@ -19,7 +19,7 @@
|
||||
|
||||
package org.apache.guacamole.properties;
|
||||
|
||||
import javax.xml.bind.DatatypeConverter;
|
||||
import com.google.common.io.BaseEncoding;
|
||||
import org.apache.guacamole.GuacamoleException;
|
||||
import org.apache.guacamole.GuacamoleServerException;
|
||||
|
||||
@@ -39,7 +39,7 @@ public abstract class ByteArrayProperty implements GuacamoleProperty<byte[]> {
|
||||
|
||||
// Return value parsed from hex
|
||||
try {
|
||||
return DatatypeConverter.parseHexBinary(value);
|
||||
return BaseEncoding.base16().decode(value);
|
||||
}
|
||||
|
||||
// Fail parse if hex invalid
|
||||
|
||||
Reference in new issue
Block a user