diff --git a/src/main/java/net/imglib2/cache/img/AbstractReadWriteCachedCellImgOptions.java b/src/main/java/net/imglib2/cache/img/AbstractReadWriteCachedCellImgOptions.java index 2ee9211..ef95c26 100644 --- a/src/main/java/net/imglib2/cache/img/AbstractReadWriteCachedCellImgOptions.java +++ b/src/main/java/net/imglib2/cache/img/AbstractReadWriteCachedCellImgOptions.java @@ -51,7 +51,7 @@ public abstract class AbstractReadWriteCachedCellImgOptions { /** * @return The values of the (derived) options object */ - abstract Values values(); + public abstract Values values(); /** * @param other Options that should be merged with this option object diff --git a/src/main/java/net/imglib2/cache/img/DiskCachedCellImgOptions.java b/src/main/java/net/imglib2/cache/img/DiskCachedCellImgOptions.java index 490d3db..e60c050 100644 --- a/src/main/java/net/imglib2/cache/img/DiskCachedCellImgOptions.java +++ b/src/main/java/net/imglib2/cache/img/DiskCachedCellImgOptions.java @@ -43,7 +43,7 @@ */ public class DiskCachedCellImgOptions extends AbstractReadWriteCachedCellImgOptions { - public final Values values; + private final Values values; DiskCachedCellImgOptions(final Values values) { @@ -57,7 +57,7 @@ public DiskCachedCellImgOptions() } @Override - Values values() { + public Values values() { return values; }