Abstract classes' names should start with 'Abstract'
This commit is contained in:
parent
71b6439c66
commit
d748113c7d
@ -20,11 +20,11 @@ import io.netty.handler.codec.DecoderResult;
|
||||
/**
|
||||
* The default {@link MemcacheObject} implementation.
|
||||
*/
|
||||
public abstract class DefaultMemcacheObject implements MemcacheObject {
|
||||
public abstract class AbstractMemcacheObject implements MemcacheObject {
|
||||
|
||||
private DecoderResult decoderResult = DecoderResult.SUCCESS;
|
||||
|
||||
protected DefaultMemcacheObject() {
|
||||
protected AbstractMemcacheObject() {
|
||||
// Disallow direct instantiation
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ import io.netty.util.internal.StringUtil;
|
||||
/**
|
||||
* The default {@link MemcacheContent} implementation.
|
||||
*/
|
||||
public class DefaultMemcacheContent extends DefaultMemcacheObject implements MemcacheContent {
|
||||
public class DefaultMemcacheContent extends AbstractMemcacheObject implements MemcacheContent {
|
||||
|
||||
private final ByteBuf content;
|
||||
|
||||
|
@ -16,13 +16,13 @@
|
||||
package io.netty.handler.codec.memcache.binary;
|
||||
|
||||
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}.
|
||||
*/
|
||||
public abstract class DefaultBinaryMemcacheMessage<H extends BinaryMemcacheMessageHeader>
|
||||
extends DefaultMemcacheObject
|
||||
public abstract class AbstractBinaryMemcacheMessage<H extends BinaryMemcacheMessageHeader>
|
||||
extends AbstractMemcacheObject
|
||||
implements BinaryMemcacheMessage<H> {
|
||||
|
||||
/**
|
||||
@ -47,7 +47,7 @@ public abstract class DefaultBinaryMemcacheMessage<H extends BinaryMemcacheMessa
|
||||
* @param key the message key.
|
||||
* @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.key = key;
|
||||
this.extras = extras;
|
@ -21,7 +21,7 @@ import io.netty.buffer.Unpooled;
|
||||
/**
|
||||
* The default implementation of the {@link BinaryMemcacheRequest}.
|
||||
*/
|
||||
public class DefaultBinaryMemcacheRequest extends DefaultBinaryMemcacheMessage<BinaryMemcacheRequestHeader>
|
||||
public class DefaultBinaryMemcacheRequest extends AbstractBinaryMemcacheMessage<BinaryMemcacheRequestHeader>
|
||||
implements BinaryMemcacheRequest {
|
||||
|
||||
/**
|
||||
|
@ -21,7 +21,7 @@ import io.netty.buffer.Unpooled;
|
||||
/**
|
||||
* The default implementation of the {@link BinaryMemcacheResponse}.
|
||||
*/
|
||||
public class DefaultBinaryMemcacheResponse extends DefaultBinaryMemcacheMessage<BinaryMemcacheResponseHeader>
|
||||
public class DefaultBinaryMemcacheResponse extends AbstractBinaryMemcacheMessage<BinaryMemcacheResponseHeader>
|
||||
implements BinaryMemcacheResponse {
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user