Skip to content

Commit 07dadc8

Browse files
committed
Upgrade to Netty 4.1.0
1 parent 5be0eb1 commit 07dadc8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mysql-async/src/main/scala/com/github/mauricio/async/db/mysql/codec/LittleEndianByteBufAllocator.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ class LittleEndianByteBufAllocator extends ByteBufAllocator {
6666

6767
def compositeDirectBuffer(maxNumComponents: Int): CompositeByteBuf = allocator.compositeDirectBuffer(maxNumComponents)
6868

69+
def calculateNewCapacity(minNewCapacity: Int, maxCapacity: Int): Int = allocator.calculateNewCapacity(minNewCapacity, maxCapacity)
70+
6971
private def littleEndian(b: ByteBuf) = b.order(ByteOrder.LITTLE_ENDIAN)
7072

7173
}

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ object Configuration {
6262
"org.slf4j" % "slf4j-api" % "1.7.18",
6363
"joda-time" % "joda-time" % "2.9.2",
6464
"org.joda" % "joda-convert" % "1.8.1",
65-
"io.netty" % "netty-all" % "4.0.34.Final",
65+
"io.netty" % "netty-all" % "4.1.0.Final",
6666
"org.javassist" % "javassist" % "3.20.0-GA",
6767
specs2Dependency,
6868
specs2JunitDependency,

0 commit comments

Comments
 (0)