Abstract classes' names should start with 'Abstract'

This commit is contained in:
Trustin Lee 2013-11-04 20:21:55 +09:00
parent f7c70366ea
commit a9893f3bd2
5 changed files with 9 additions and 9 deletions

View File

@ -20,11 +20,11 @@ import io.netty.handler.codec.DecoderResult;
/** /**
* The default {@link MemcacheObject} implementation. * The default {@link MemcacheObject} implementation.
*/ */
public abstract class DefaultMemcacheObject implements MemcacheObject { public abstract class AbstractMemcacheObject implements MemcacheObject {
private DecoderResult decoderResult = DecoderResult.SUCCESS; private DecoderResult decoderResult = DecoderResult.SUCCESS;
protected DefaultMemcacheObject() { protected AbstractMemcacheObject() {
// Disallow direct instantiation // Disallow direct instantiation
} }

View File

@ -21,7 +21,7 @@ import io.netty.util.internal.StringUtil;
/** /**
* The default {@link MemcacheContent} implementation. * The default {@link MemcacheContent} implementation.
*/ */
public class DefaultMemcacheContent extends DefaultMemcacheObject implements MemcacheContent { public class DefaultMemcacheContent extends AbstractMemcacheObject implements MemcacheContent {
private final ByteBuf content; private final ByteBuf content;

View File

@ -16,13 +16,13 @@
package io.netty.handler.codec.memcache.binary; package io.netty.handler.codec.memcache.binary;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.memcache.DefaultMemcacheObject; import io.netty.handler.codec.memcache.AbstractMemcacheObject;
/** /**
* Default implementation of a {@link BinaryMemcacheMessage}. * Default implementation of a {@link BinaryMemcacheMessage}.
*/ */
public abstract class DefaultBinaryMemcacheMessage<H extends BinaryMemcacheMessageHeader> public abstract class AbstractBinaryMemcacheMessage<H extends BinaryMemcacheMessageHeader>
extends DefaultMemcacheObject extends AbstractMemcacheObject
implements BinaryMemcacheMessage<H> { implements BinaryMemcacheMessage<H> {
/** /**
@ -47,7 +47,7 @@ public abstract class DefaultBinaryMemcacheMessage<H extends BinaryMemcacheMessa
* @param key the message key. * @param key the message key.
* @param extras the message extras. * @param extras the message extras.
*/ */
protected DefaultBinaryMemcacheMessage(H header, String key, ByteBuf extras) { protected AbstractBinaryMemcacheMessage(H header, String key, ByteBuf extras) {
this.header = header; this.header = header;
this.key = key; this.key = key;
this.extras = extras; this.extras = extras;

View File

@ -21,7 +21,7 @@ import io.netty.buffer.Unpooled;
/** /**
* The default implementation of the {@link BinaryMemcacheRequest}. * The default implementation of the {@link BinaryMemcacheRequest}.
*/ */
public class DefaultBinaryMemcacheRequest extends DefaultBinaryMemcacheMessage<BinaryMemcacheRequestHeader> public class DefaultBinaryMemcacheRequest extends AbstractBinaryMemcacheMessage<BinaryMemcacheRequestHeader>
implements BinaryMemcacheRequest { implements BinaryMemcacheRequest {
/** /**

View File

@ -21,7 +21,7 @@ import io.netty.buffer.Unpooled;
/** /**
* The default implementation of the {@link BinaryMemcacheResponse}. * The default implementation of the {@link BinaryMemcacheResponse}.
*/ */
public class DefaultBinaryMemcacheResponse extends DefaultBinaryMemcacheMessage<BinaryMemcacheResponseHeader> public class DefaultBinaryMemcacheResponse extends AbstractBinaryMemcacheMessage<BinaryMemcacheResponseHeader>
implements BinaryMemcacheResponse { implements BinaryMemcacheResponse {
/** /**