Skip to content

Commit

Permalink
Merge pull request #1 from code159/patch-1
Browse files Browse the repository at this point in the history
Update BasicQueue.java
  • Loading branch information
swiftma authored Jun 5, 2017
2 parents 5ae7441 + ac5ad36 commit 577449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shuo/laoma/file/c61/BasicQueue.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class BasicQueue {
private MappedByteBuffer metaBuf;

public BasicQueue(String path, String queueName) throws IOException {
if (path.endsWith(File.separator)) {
if (!path.endsWith(File.separator)) {
path += File.separator;
}
RandomAccessFile dataFile = null;
Expand Down

0 comments on commit 577449c

Please sign in to comment.