/** * Prints the warnings if the CMR version saved in the storage does not exists or is different * from the current CMR version. * * @param storageData {@link StorageData}. */ private void printStorageCmrVersionWarn(IStorageData storageData) { // inform if the version of the CMR differs or is not available if (null == storageData.getCmrVersion()) { log.warn( "The storage " + storageData + " does not define the CMR version. The storage might be unstable on the CMR version " + cmrVersion + "."); } else if (!Objects.equals(storageData.getCmrVersion(), cmrVersion)) { log.warn( "The storage " + storageData + " has different CMR version (" + storageData.getCmrVersion() + ") than the current CMR version(" + cmrVersion + "). The storage might be unstable."); } }