1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-02 00:25:10 -04:00

Whitespace cleanup

This commit is contained in:
cketti 2012-01-27 03:07:44 +01:00
parent 9a0f650cd9
commit 68f5f009f1

View File

@ -52,13 +52,13 @@ public class AttachmentView extends FrameLayout {
public String contentType;
public long size;
public ImageView iconView;
/**
* Regular expression that represents characters that aren't allowed
* to be used in file names saved using K-9
*/
private static final String specialCharacters = new String("[^\\d\\s\\w!" +
"#\\$%&'\\(\\)\\-@\\^_`\\{\\}~.,]");
"#\\$%&'\\(\\)\\-@\\^_`\\{\\}~.,]");
private AttachmentFileDownloadCallback callback;
@ -222,12 +222,12 @@ public class AttachmentView extends FrameLayout {
/**
* Removes characters that aren't allowed to be used in file names saved
* in K-9 application.
*
*
* @param filename The original file name.
* @return A file name with only legal characters.
*/
private String removeSpecialCharacters(String filename) {
return filename.replaceAll(specialCharacters, "");
return filename.replaceAll(specialCharacters, "");
}
/**