Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskleeh committed Jan 18, 2022
1 parent 2eb43c6 commit 8224a8f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Expand Up @@ -20,7 +20,6 @@

import java.nio.charset.Charset;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

/**
* Default implementation of the {@link ConversionContext} interface.
Expand All @@ -31,6 +30,7 @@
*/
@Internal
class DefaultArgumentConversionContext<T> implements ArgumentConversionContext<T> {

private final Argument<T> argument;
private final Locale finalLocale;
private final Charset finalCharset;
Expand Down
Expand Up @@ -18,8 +18,6 @@
import io.micronaut.core.type.Argument;
import io.micronaut.core.util.ArgumentUtils;

import java.util.Map;

/**
* Immutable variant of {@link io.micronaut.core.convert.ArgumentConversionContext} that can be used as a constant
* in cases where conversion error handling and rejection is not required.
Expand Down
Expand Up @@ -182,6 +182,11 @@ protected AbstractNettyWebSocketHandler(
}
}

/**
* Calls the open method of the websocket bean.
*
* @param ctx THe handler context
*/
protected void callOpenMethod(ChannelHandlerContext ctx) {
if (session == null) {
return;
Expand Down
Expand Up @@ -18,7 +18,6 @@
import io.micronaut.core.annotation.Internal;
import io.micronaut.http.HttpRequest;
import io.micronaut.http.MutableHttpResponse;
import io.micronaut.http.netty.AbstractNettyHttpRequest;
import io.micronaut.http.netty.NettyMutableHttpResponse;
import io.micronaut.http.server.netty.NettyHttpRequest;
import io.micronaut.http.server.netty.types.NettyCustomizableResponseType;
Expand Down
Expand Up @@ -93,7 +93,7 @@ public final class RouteExecutor {

private static final Logger LOG = LoggerFactory.getLogger(RouteExecutor.class);
/**
* Also present in netty RoutingInBoundHandler
* Also present in netty RoutingInBoundHandler.
*/
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
"^.*(?:connection.*(?:reset|closed|abort|broken)|broken.*pipe).*$", Pattern.CASE_INSENSITIVE);
Expand Down
Expand Up @@ -32,7 +32,6 @@
import java.lang.annotation.Annotation;
import java.lang.annotation.RetentionPolicy;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiConsumer;
import java.util.function.Predicate;
import java.util.function.Supplier;
Expand Down

0 comments on commit 8224a8f

Please sign in to comment.