From 66f58163fc4828fd9c776e89fbb60ffb60be6633 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 22 Nov 2016 09:20:58 +0000
Subject: [PATCH] Code cleanups

---
 opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java b/opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java
index 8718e18..37ab80a0 100644
--- a/opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java
+++ b/opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java
@@ -40,9 +40,7 @@
 
 import static org.forgerock.opendj.ldap.LDAPConnectionFactory.*;
 
-/**
- * Common utility methods.
- */
+/** Common utility methods. */
 final class GrizzlyUtils {
     @SuppressWarnings("rawtypes")
     private static final ThreadCache.CachedTypeIndex<LDAPWriter> WRITER_INDEX = ThreadCache
@@ -53,7 +51,7 @@
 
     /**
      * Build a filter chain from the provided processor if possible and the
-     * provided filter.
+     * provided filters.
      * <p>
      * If the provided processor can't be used for building the new filter
      * chain, then a chain with only a {@code TransportFilter} is used as a base
@@ -64,11 +62,11 @@
      *            not a filter chain (for example, it can be a
      *            {@code StandaloneProcessor} then it is ignored to build the
      *            returned filter chain
-     * @param filter
-     *            filter to add at the end of the filter chain
+     * @param filters
+     *            filters to add at the end of the filter chain
      * @return a new filter chain, based on the provided processor if processor
-     *         is a {@code FilterChain}, and having the provided filter as the
-     *         last filter
+     *         is a {@code FilterChain}, and having the provided filters as the
+     *         last filters
      */
     static FilterChain buildFilterChain(Processor<?> processor, Filter... filters) {
         if (processor instanceof FilterChain) {
@@ -231,5 +229,4 @@
     private GrizzlyUtils() {
         // No implementation required.
     }
-
 }

--
Gitblit v1.10.0