Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
FileUtil: fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolateboy committed Oct 19, 2012
1 parent 7ce3f75 commit d762924
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/net/pms/util/FileUtil.java
Expand Up @@ -69,6 +69,14 @@ public static File getFileNameWithAddedExtension(File parent, File f, String ext
return null;
}

/**
* @deprecated Use {@link #getFileNameWithAddedExtension(File, File, String)}.
*/
@Deprecated
public static File getFileNameWitAddedExtension(File parent, File file, String ext) {
return getFileNameWithAddedExtension(parent, file, ext);
}

public static File isFileExists(File f, String ext) {
int point = f.getName().lastIndexOf(".");

Expand Down

0 comments on commit d762924

Please sign in to comment.