braces around loop, proper spacing

// FREEBIE
pull/1/head
Jake McGinty 11 years ago
parent 7b0479ff0f
commit 213715a0dc

@ -493,9 +493,10 @@ public class ConversationFragment extends SherlockListFragment
extension = "attach"; extension = "attach";
int i = 0; int i = 0;
File file = new File(outputDirectory, base+"."+extension); File file = new File(outputDirectory, base + "." + extension);
while (file.exists()) while (file.exists()) {
file = new File(outputDirectory, base+"-"+(++i)+"."+extension); file = new File(outputDirectory, base + "-" + (++i) + "." + extension);
}
return file; return file;
} }

Loading…
Cancel
Save