Remove unnecessary type parameter.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 18 Jan 2013 14:14:17 +0000 (15:14 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 18 Jan 2013 14:14:17 +0000 (15:14 +0100)
src/main/java/net/pterodactylus/sone/data/impl/AbstractReplyBuilder.java
src/main/java/net/pterodactylus/sone/data/impl/PostReplyBuilderImpl.java

index 77e484a..e04e854 100644 (file)
@@ -23,13 +23,11 @@ import net.pterodactylus.sone.data.Sone;
 /**
  * Abstract implementation of a {@link ReplyBuilder}.
  *
 /**
  * Abstract implementation of a {@link ReplyBuilder}.
  *
- * @param <C>
- *            The concrete implementation of the builder
  * @param <B>
  *            The interface implemented and exposed by the builder
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
  * @param <B>
  *            The interface implemented and exposed by the builder
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public class AbstractReplyBuilder<C extends AbstractReplyBuilder<C, B>, B extends ReplyBuilder<B>> implements ReplyBuilder<B> {
+public class AbstractReplyBuilder<B extends ReplyBuilder<B>> implements ReplyBuilder<B> {
 
        /** Whether to use a random ID for the reply. */
        protected boolean randomId;
 
        /** Whether to use a random ID for the reply. */
        protected boolean randomId;
index 756f28e..35b87e8 100644 (file)
@@ -33,7 +33,7 @@ import org.apache.commons.lang.StringUtils;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public class PostReplyBuilderImpl extends AbstractReplyBuilder<PostReplyBuilderImpl, PostReplyBuilder> implements PostReplyBuilder {
+public class PostReplyBuilderImpl extends AbstractReplyBuilder<PostReplyBuilder> implements PostReplyBuilder {
 
        /** The post the created reply refers to. */
        private Post post;
 
        /** The post the created reply refers to. */
        private Post post;