Fixed some checkstyle errors

This commit is contained in:
Trustin Lee 2012-06-04 13:43:02 -07:00
parent 1eced1e9e3
commit c2e65016fd
9 changed files with 32 additions and 8 deletions

View File

@ -0,0 +1,24 @@
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* 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.
*/
/**
* The helper classes with fluent API which enable an easy implementation of
* typical client side and server side channel initialization.
*
* @apiviz.landmark
* @apiviz.exclude ^io\.netty\.util\.
*/
package io.netty.bootstrap;

View File

@ -746,7 +746,7 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
}
}
static abstract class FlushCheckpoint {
abstract static class FlushCheckpoint {
abstract long flushCheckpoint();
abstract void flushCheckpoint(long checkpoint);
abstract ChannelFuture future();

View File

@ -503,7 +503,7 @@ public abstract class SingleThreadEventExecutor extends AbstractExecutorService
private final long id = nextTaskId.getAndIncrement();
private long deadlineNanos;
/** 0 - no repeat, >0 - repeat at fixed rate, <0 - repeat with fixed delay */
/* 0 - no repeat, >0 - repeat at fixed rate, <0 - repeat with fixed delay */
private final long periodNanos;
ScheduledFutureTask(Runnable runnable, V result, long nanoTime) {