mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Whitespace cleanup
This commit is contained in:
parent
9a0f650cd9
commit
68f5f009f1
@ -58,7 +58,7 @@ public class AttachmentView extends FrameLayout {
|
|||||||
* to be used in file names saved using K-9
|
* to be used in file names saved using K-9
|
||||||
*/
|
*/
|
||||||
private static final String specialCharacters = new String("[^\\d\\s\\w!" +
|
private static final String specialCharacters = new String("[^\\d\\s\\w!" +
|
||||||
"#\\$%&'\\(\\)\\-@\\^_`\\{\\}~.,]");
|
"#\\$%&'\\(\\)\\-@\\^_`\\{\\}~.,]");
|
||||||
|
|
||||||
private AttachmentFileDownloadCallback callback;
|
private AttachmentFileDownloadCallback callback;
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ public class AttachmentView extends FrameLayout {
|
|||||||
* @return A file name with only legal characters.
|
* @return A file name with only legal characters.
|
||||||
*/
|
*/
|
||||||
private String removeSpecialCharacters(String filename) {
|
private String removeSpecialCharacters(String filename) {
|
||||||
return filename.replaceAll(specialCharacters, "");
|
return filename.replaceAll(specialCharacters, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user