mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-21 07:33:34 +00:00
Update to Scala 2.13 & Akka 2.6.5 (#461)
* update scala to 2.13 & update dependencies * fix test * import scodec-akka * scala 2.13 fixes * Work around futures not completing when awaited within object constructor Co-authored-by: Mazo <mazo2@hotmail.com>
This commit is contained in:
parent
270485fa4d
commit
e51e970e51
12 changed files with 127 additions and 139 deletions
13
common/src/main/java/scodec/interop/akka/PrivacyHelper.java
Normal file
13
common/src/main/java/scodec/interop/akka/PrivacyHelper.java
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package scodec.interop.akka;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import akka.util.ByteString.ByteString1C;
|
||||
|
||||
interface PrivacyHelper {
|
||||
|
||||
static ByteString1C createByteString1C(byte[] array) {
|
||||
return new ByteString1C(array);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue