Skip to content

Commit

Permalink
FileUtils: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed May 8, 2024
1 parent 02b395a commit d9d3ba4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/com/archos/filecorelibrary/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.channels.FileChannel;
import java.util.Arrays;
import java.util.List;
Expand Down Expand Up @@ -264,6 +262,7 @@ public static Uri getContentUriFromFileURI(Context context, Uri dataUri) {
}
}

// provides the basename
public static String getName(Uri uri){
if(uri!=null) {
String name = uri.getLastPathSegment();
Expand Down Expand Up @@ -521,5 +520,4 @@ public static void caughtException(Throwable e, String method, String exceptionT
if (log.isTraceEnabled()) log.error(method + ": caught " + exceptionType + " ", e);
else log.warn(method + ": caught "+ exceptionType);
}

}

0 comments on commit d9d3ba4

Please sign in to comment.