Declare (Cached)ViewCB classes abstract

This commit is contained in:
Chris Beams 2014-11-22 15:40:12 +01:00
parent 892e3c33f9
commit 4e6134a3a2
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* If caching is used for loader we use the CachedViewController for turning the controller into sleep mode if not
* active and awake it at reactivation.
*/
public class CachedViewCB<M extends Activatable> extends ViewCB<M> implements Activatable {
public abstract class CachedViewCB<M extends Activatable> extends ViewCB<M> implements Activatable {
private static final Logger log = LoggerFactory.getLogger(CachedViewCB.class);
public CachedViewCB(M model) {

View File

@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
/**
* Non caching version for code behind classes using the PM pattern
*/
public class ViewCB<M> implements Initializable {
public abstract class ViewCB<M> implements Initializable {
private static final Logger log = LoggerFactory.getLogger(ViewCB.class);