I think you are right.

Norman Maurer wrote:
> In 
> websockets/src/main/java/io/undertow/websockets/highlevel/impl/SendCallbacks.java:
>
> >  + * distributed under the License is distributed on an"AS IS"  BASIS,
> >  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> >  + * See the License for the specific language governing permissions and
> >  + * limitations under the License.
> >  + */
> >  +package io.undertow.websockets.highlevel.impl;
> >  +
> >  +import io.undertow.websockets.highlevel.SendCallback;
> >  +
> >  +/**
> >  + * Wraps a array of {@link SendCallback}s to execute on {@link #onCompletion()} or {@link #onError(Throwable)}
> >  + *
> >  + * @author<a href="mailto:nmaurer@redhat.com">Norman Maurer</a>
> >  + */
> >  +final class SendCallbacks implements SendCallback {
> >  +    private final SendCallback[] callbacks;
>
> Using SendCallback... is an overkill. I don't think a user need it for 
> 99% of his use cases. Using just one param sounds "cleaner" for me
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/undertow-io/undertow/pull/33/files#r2839372>.
>