In the test program MappedFileQueueTest, the storePath last slash is redundant when passing storePath to the MappedFileQueue constructor, because after defining the MappedFileQueue object, and then call mappedFileQueue.getLastMappedFile(0) method, this method inside will be joining the File.separator(slash)
In the test program
MappedFileQueueTest, thestorePathlast slash is redundant when passingstorePathto theMappedFileQueueconstructor, because after defining the MappedFileQueue object, and then callmappedFileQueue.getLastMappedFile(0)method, this method inside will be joining theFile.separator(slash)