String (long recordOffsetInFile) { if (!MORE_DIAGNOSTIC_INFORMATION) { return ""; } if (startOfRecoveredRegion < 0 && endOfRecoveredRegion < 0) { return "(There was no recovery, it can't be related to it)"; } if (recordOffsetInFile >= startOfRecoveredRegion && recordOffsetInFile < endOfRecoveredRegion) { return "(Record is in the recovered region [" + startOfRecoveredRegion + ".." + endOfRecoveredRegion + ") " + "so it may be due to some un-recovered records)"; } return "(There was a recovery so it may be due to some un-recovered records, " + "but the record is outside the region [" + startOfRecoveredRegion + ".." + endOfRecoveredRegion + ") recovered)"; }