mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 02:37:46 +00:00
braces around loop, proper spacing
// FREEBIE
This commit is contained in:
parent
7b0479ff0f
commit
213715a0dc
@ -493,9 +493,10 @@ public class ConversationFragment extends SherlockListFragment
|
||||
extension = "attach";
|
||||
|
||||
int i = 0;
|
||||
File file = new File(outputDirectory, base+"."+extension);
|
||||
while (file.exists())
|
||||
file = new File(outputDirectory, base+"-"+(++i)+"."+extension);
|
||||
File file = new File(outputDirectory, base + "." + extension);
|
||||
while (file.exists()) {
|
||||
file = new File(outputDirectory, base + "-" + (++i) + "." + extension);
|
||||
}
|
||||
|
||||
return file;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user