if (resolvedCacheType.isNotCached()) {
throw new IllegalArgumentException("The moveSelectorConfig (" + this
+ ") with resolvedSelectionOrder (" + resolvedSelectionOrder
+ ") has a resolvedCacheType (" + resolvedCacheType + ") that is not cached.");
}
moveSelector = new ShufflingMoveSelector(moveSelector, resolvedCacheType);
alreadyCached = true;
}
if (resolvedCacheType.isCached() && !alreadyCached) {
// TODO this might be pretty pointless for MoveListFactoryConfig, because MoveListFactory caches
moveSelector = new CachingMoveSelector(moveSelector, resolvedCacheType,