braces around loop, proper spacing

// FREEBIE
fork-5.53.8
Jake McGinty 2014-08-12 18:21:11 -07:00
rodzic 7b0479ff0f
commit 213715a0dc
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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;
}