Skip to content

Commit

Permalink
Use system independent file separator. Fix #30
Browse files Browse the repository at this point in the history
  • Loading branch information
madsonic committed Nov 3, 2015
1 parent fa214b3 commit cbee59d
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 cbee59d

Please sign in to comment.