From 3d1ad2f5cc817b1bf461272b311adfaa07abfada Mon Sep 17 00:00:00 2001 From: Carsten Haubold Date: Fri, 4 Jan 2019 11:06:28 +0100 Subject: [PATCH] Cleanup access to option values --- .../cache/img/AbstractReadWriteCachedCellImgOptions.java | 2 +- .../java/net/imglib2/cache/img/DiskCachedCellImgOptions.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }