if dir is already present, print WARNING instead of ERROR
parent
092e1c551b
commit
a3aa69f9ba
|
@ -53,7 +53,7 @@ public class DeckUtils {
|
|||
if (!deckFolderFile.exists()) {
|
||||
final boolean isCreated = deckFolderFile.mkdir();
|
||||
if (!isCreated) {
|
||||
System.err.println("ERROR! Unable to create " + getDeckFolder());
|
||||
System.err.println("WARNING. Unable to create " + getDeckFolder());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ public class DownloadImageFiles extends ArrayList<DownloadImageFile> {
|
|||
imagesPathFile=new File(gamePathFile,line.substring(1).trim());
|
||||
final boolean isCreated = imagesPathFile.mkdir();
|
||||
if (!isCreated) {
|
||||
System.err.println("ERROR! Unable to create " + imagesPathFile);
|
||||
System.err.println("WARNING. Unable to create " + imagesPathFile);
|
||||
}
|
||||
} else {
|
||||
final String parts[]=line.trim().split(";");
|
||||
|
|
Loading…
Reference in New Issue