Updates tests for java 16

This commit is contained in:
spencergibb
2021-03-18 16:41:11 -04:00
parent d6adbf5a4a
commit a9c88e6f5a
3 changed files with 30 additions and 26 deletions

View File

@@ -77,7 +77,8 @@ public class CachedRandomPropertySource extends PropertySource<PropertySource> {
}
return randomValueCache.computeIfAbsent(type, (theType) -> {
if (logger.isDebugEnabled()) {
logger.debug("No random value found in cache for key and value, generating a new value");
logger.debug(String.format(
"No random value found in cache for key: %s and type: %s, generating a new value", key, type));
}
return getSource().getProperty("random." + type);
});