Skip to content

Commit

Permalink
Reduce visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Oct 2, 2020
1 parent ef6a148 commit 50fba79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @author Maximilian Goeke
* @since 1.0.0
*/
public final class ReactorNettyLoggingHandler extends LoggingHandler {
final class ReactorNettyLoggingHandler extends LoggingHandler {

private final Charset charset;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import reactor.netty.ConnectionObserver;
import reactor.netty.channel.ChannelMetricsRecorder;
import reactor.netty.transport.logging.AdvancedByteBufFormat;
import reactor.netty.transport.logging.ReactorNettyLoggingHandler;
import reactor.netty.resources.LoopResources;

/**
Expand Down Expand Up @@ -75,7 +74,7 @@ private void doTestWiretap(TestTransport transport, LogLevel expectedLevel, Byte
private void doTestWiretapForTextualLogger(TestTransport transport, LogLevel expectedLevel) {
LoggingHandler loggingHandler = transport.config.loggingHandler;

assertThat(loggingHandler).isInstanceOf(ReactorNettyLoggingHandler.class);
assertThat(loggingHandler).hasFieldOrProperty("charset");
assertThat(loggingHandler.level()).isSameAs(expectedLevel);
}

Expand Down

0 comments on commit 50fba79

Please sign in to comment.