Skip to content

Commit

Permalink
Merge pull request #31 from madsonic/master
Browse files Browse the repository at this point in the history
Use system independent file separator. Fix #30
  • Loading branch information
sebastianquek committed Nov 3, 2015
2 parents fa214b3 + cbee59d commit 2f94ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/backend/Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
public class Storage {

public static final String DEFAULT_SAVE_DIRECTORY = "collated";
private static final String SAVE_DIRECTORY_FORMAT = "%s\\collated";
private static final String COLLATED_FILE_PATH_FORMAT = "%s\\%s.md";
private static final String SAVE_DIRECTORY_FORMAT = "%s" + File.separator + "collated";
private static final String COLLATED_FILE_PATH_FORMAT = "%s" + File.separator + "%s.md";
private static final String ERROR_FILE_NOT_FOUND = "File was not found: %s";

private String saveFolder;
Expand Down

0 comments on commit 2f94ddb

Please sign in to comment.