Skip to content

Commit

Permalink
Really allow .conf files
Browse files Browse the repository at this point in the history
This adds on to commit 61b886c
  • Loading branch information
SS111 committed Sep 1, 2013
1 parent 8bbd23c commit b545284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/github/ss111/ConflictResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void resolveConflicts(String path, ArrayList<Integer> unusedBlocks

ArrayList<String> lines = new ArrayList<String>();

if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt")) {
if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt") || configFile.getAbsolutePath().contains(".conf")) {

try {

Expand Down Expand Up @@ -195,7 +195,7 @@ public static void resolveConflicts(String path, ArrayList<Integer> unusedBlocks

ArrayList<String> lines = new ArrayList<String>();

if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt")) {
if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt") || configFile.getAbsolutePath().contains(".conf")) {

try {

Expand Down

0 comments on commit b545284

Please sign in to comment.