Skip to content

Commit 61dc21c

Browse files
authored
Remove comments (#228)
* Remove commented code Signed-off-by: Pavol Loffay <[email protected]> * Fix names Signed-off-by: Pavol Loffay <[email protected]>
1 parent dd0cdcf commit 61dc21c

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

instrumentation/netty/netty-4.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/netty/v4_0/NettyInstrumentationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
public class NettyInstrumentationName {
2020
public static final String PRIMARY = "netty";
2121
public static final String[] OTHER = {
22-
"netty-4.0", "ht", "netty", "netty-4.0-ht",
22+
"netty-4.0", "ht", "netty-ht", "netty-4.0-ht",
2323
};
2424
}

instrumentation/netty/netty-4.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/netty/v4_0/NettyTestServer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ protected void initChannel(Channel ch) throws Exception {
7878
ChannelHandler channelHandler = channelHandlerClass.newInstance();
7979
pipeline.addLast(channelHandler);
8080
}
81-
// pipeline.addLast(handlerList.toArray(new ChannelHandler[0]));
82-
// pipeline.addLast(new HttpServerCodec());
83-
// pipeline.addLast(new HttpRequestDecoder());
84-
// pipeline.addLast(new HttpResponseEncoder());
8581

8682
pipeline.addLast(
8783
new SimpleChannelInboundHandler() {

instrumentation/netty/netty-4.1/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/netty/v4_1/NettyInstrumentationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
public class NettyInstrumentationName {
2020
public static final String PRIMARY = "netty";
2121
public static final String[] OTHER = {
22-
"netty-4.1", "ht", "netty", "netty-4.1-ht",
22+
"netty-4.1", "ht", "netty-ht", "netty-4.1-ht",
2323
};
2424
}

instrumentation/netty/netty-4.1/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/netty/v4_1/NettyTestServer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ protected void initChannel(Channel ch) throws Exception {
7878
ChannelHandler channelHandler = channelHandlerClass.newInstance();
7979
pipeline.addLast(channelHandler);
8080
}
81-
// pipeline.addLast(handlerList.toArray(new ChannelHandler[0]));
82-
// pipeline.addLast(new HttpServerCodec());
83-
// pipeline.addLast(new HttpRequestDecoder());
84-
// pipeline.addLast(new HttpResponseEncoder());
8581

8682
pipeline.addLast(
8783
new SimpleChannelInboundHandler() {

0 commit comments

Comments
 (0)