Skip to content

Commit

Permalink
Add two TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hocuri committed Dec 27, 2024
1 parent 502c0ed commit 9750e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public int getHeight() {
return height;
}

// TODO the following function can prob. be deleted now. Adb may be able to tell me some context why it was introduced.
public String getRealPath(Context context) {
try {
// get file in the blobdir as `<blobdir>/<name>[-<uniqueNumber>].<ext>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ private static String checkMime(String path, String mimeType) {
return mimeType;
}

// TODO the following function can prob. be simplified and unified with the next fn now.
public static String getBlobdirFile(DcContext dcContext, String filename, String ext) {
filename = FileUtils.sanitizeFilename(filename);
ext = FileUtils.sanitizeFilename(ext);
Expand Down

0 comments on commit 9750e7b

Please sign in to comment.