File: 11-ignore-protobuf-nano.patch

package info (click to toggle)
netty 1%3A4.1.48-7%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,864 kB
  • sloc: java: 283,588; xml: 7,075; ansic: 3,756; sh: 134; makefile: 32
file content (33 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description: Disables protobuf nano support (missing dependency)
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/codec/pom.xml
+++ b/codec/pom.xml
@@ -119,6 +119,7 @@
             <exclude>**/marshalling/*.java</exclude>
             <exclude>**/compression/Lz4*.java</exclude>
             <exclude>**/compression/Lzma*.java</exclude>
+            <exclude>**/Protobuf*Nano.java</exclude>
           </excludes>
         </configuration>
       </plugin>
--- a/codec/src/main/java/io/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java
+++ b/codec/src/main/java/io/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java
@@ -16,7 +16,6 @@
 package io.netty.handler.codec.protobuf;
 
 import com.google.protobuf.CodedInputStream;
-import com.google.protobuf.nano.CodedInputByteBufferNano;
 import io.netty.buffer.ByteBuf;
 import io.netty.channel.ChannelHandlerContext;
 import io.netty.handler.codec.ByteToMessageDecoder;
--- a/codec/src/main/java/io/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java
+++ b/codec/src/main/java/io/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java
@@ -16,7 +16,6 @@
 package io.netty.handler.codec.protobuf;
 
 import com.google.protobuf.CodedOutputStream;
-import com.google.protobuf.nano.CodedOutputByteBufferNano;
 import io.netty.buffer.ByteBuf;
 import io.netty.channel.ChannelHandler.Sharable;
 import io.netty.channel.ChannelHandlerContext;